/* =========================================================
   DOTNEKT V14 — ORIGAMI THEME
   Color palette: Cream / Dark / Orange / Teal
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Noto+Sans+Tamil:wght@400;500;600;700&family=Noto+Sans+Malayalam:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'bvsatyamurty';
    src: url('../../assets/bvsatyamurty.ttf') format('truetype');
    font-weight: 400 900;
    font-display: swap;
}

:root {
    --cream: #EFE1C4E6;
    --cream-dark: #DED6C6;
    --vanilla: #E8DFD0;
    --dark: #1A1A1A;
    --dark-light: #2D2D2D;
    --orange: #E85D26;
    --orange-hover: #D14E1A;
    --teal: #1A6B5A;
    --teal-light: #2A8B72;
    --white: #FFFFFF;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;

    /* Paper dot texture */
    --paper-dot-color: rgba(70, 54, 38, 0.25);
    --paper-dot-size: 1px;
    --paper-dot-spacing: 5px;
    --paper-grain-opacity: 0.2;
}

/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--dark) var(--cream);
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: var(--cream);
}

html::-webkit-scrollbar-thumb {
    background: var(--dark);
    border-radius: 4px;
}

html::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

body {
    background: var(--cream);
    color: var(--dark);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
}

/* Paper + Grain Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.12;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

::selection {
    background: var(--orange);
    color: var(--white);
}

/* =========================================================
   PAPER BACKGROUND
   ========================================================= */

.page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: var(--vanilla);
    background-image:
        /* warm paper variation */
        radial-gradient(ellipse at 50% 45%,
            rgba(255, 255, 255, .35),
            transparent 55%),
        /* subtle shade gradient */
        linear-gradient(175deg,
            var(--vanilla) 0%,
            #D9CEBC 40%,
            #CFC3AD 100%),
        /* fine paper fibers */
        radial-gradient(rgba(80, 60, 25, 0.08) 0.5px,
            transparent 0.6px),
        /* larger paper texture */
        radial-gradient(rgba(255, 255, 255, 0.2) 0.6px,
            transparent 0.8px);
    background-size:
        100% 100%,
        100% 100%,
        4px 4px,
        9px 9px;
}

.page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: var(--paper-grain-opacity);
    background-image: radial-gradient(var(--paper-dot-color) var(--paper-dot-size),
            transparent var(--paper-dot-size));
    background-size: var(--paper-dot-spacing) var(--paper-dot-spacing);
    mix-blend-mode: multiply;
}

/* =========================================================
   NOISE OVERLAY (FINE)
   ========================================================= */

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* =========================================================
   SECTION ORANGE BOTTOM BORDER
   ========================================================= */

section {
    border-bottom: 3px solid var(--dark);
}

/* =========================================================
   SHARED ELEMENTS
   ========================================================= */

/* Cloud Box */
.cloud-box {
    background: var(--cream-dark);
    border: 1.5px solid rgba(26, 26, 26, 0.15);
    border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cloud-box::before {
    content: '';
    position: absolute;
    width: 55%;
    height: 55%;
    background: rgba(26, 26, 26, 0.04);
    border-radius: 50%;
    top: -10%;
    left: -5%;
    pointer-events: none;
}

.cloud-box-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15%;
    filter: grayscale(100%) sepia(100%) saturate(200%) hue-rotate(-10deg) brightness(0.9);
}

.cloud-box-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    line-height: 1.3;
    letter-spacing: 1px;
    padding: 20px;
}

.cloud-box-arrow {
    position: absolute;
    bottom: -30px;
    left: 20px;
    transform: rotate(10deg);
}

.cloud-box-hero .cloud-box-text {
    color: var(--dark);
}

/* Hero badge */
.cloud-box-hero {
    position: absolute;
    top: 100px;
    right: 40px;
    width: 160px;
    height: 160px;
    z-index: 30;
    background: transparent;
    border: 2px solid var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cloud-box-hero .cloud-box-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    line-height: 1.3;
    letter-spacing: 1px;
}

.cloud-box-hero .cloud-box-arrow {
    position: absolute;
    bottom: -30px;
    left: 20px;
    transform: rotate(10deg);
}

/* Floating logo across sections */
.floating-logo {
    position: absolute;
    width: 50px;
    top: 40px;
    right: 10%;
    z-index: 5;
    pointer-events: none;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Greeting text - no box */
.deco-greeting {
    position: absolute;
    z-index: 15;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.deco-greeting-1 {
    animation-delay: 0s;
}

.deco-greeting-3 {
    animation-delay: 1.2s;
}

.deco-greeting-4 {
    animation-delay: 2.4s;
}

.deco-greeting-5 {
    animation-delay: 3.6s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.deco-greeting-1 {
    top: 115px;
    left: 35%;
    width: 160px;
    height: 140px;
}

.deco-greeting-3 {
    bottom: 40%;
    left: 46%;
    width: 120px;
    height: 105px;
}

.deco-greeting-4 {
    bottom: 40%;
    right: 5%;
    width: 125px;
    height: 108px;
}

.deco-greeting-5 {
    top: 90%;
    left: 15%;
    width: 115px;
    height: 100px;
}

.greeting-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--orange);
    text-align: center;
    line-height: 1.3;
}

.greeting-telugu {
    font-family: 'Bvsatyamurty', sans-serif;
    font-size: 23px;
    font-weight: 900;
}

.greeting-hindi {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

.greeting-tamil {
    font-family: 'Noto Sans Tamil', sans-serif;
}

.greeting-malayalam {
    font-family: 'Noto Sans Malayalam', sans-serif;
}

/* About cloud box */
.cloud-box-about {
    position: absolute;
    top: -20px;
    left: 80px;
    width: 180px;
    height: 180px;
    z-index: 5;
    background: transparent;
    border: 2px solid var(--dark);
}

.cloud-box-about .cloud-box-text {
    color: var(--orange);
}

.cloud-box-telugu {
    font-family: 'Bvsatyamurty', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--orange);
    text-align: center;
    line-height: 1.4;
    padding: 20px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.label-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    padding: 0 42px;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
    overflow: hidden;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-brand {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -1px;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: var(--gray-500);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 11px;
    color: var(--gray-500);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--orange);
}

/* =========================================================
   MOBILE MENU (GLOBAL)
   ========================================================= */

.mobile-menu {
    display: none !important;
}

/* =========================================================
   HAMBURGER BUTTON — HIDDEN ON DESKTOP
   ========================================================= */

.menu {
    display: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {
    .menu {
        display: block;
    }

    .logo-img {
        height: 45px;
        margin-left: -10px;
    }
}