/* ==========================================================
   AAHAN TECHNOLOGIES
   Modern Global Design System
   ========================================================== */


/* ==========================================================
   1. FONT
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&display=swap');


/* ==========================================================
   2. DESIGN TOKENS
   ========================================================== */

:root {

    /* Brand Colors */
    --aahan-primary: #142850;
    --aahan-primary-dark: #0d1b36;

    /* Text Colors */
    --aahan-text: #171717;
    --aahan-text-secondary: #666666;
    --aahan-text-muted: #7a7a7a;
    --aahan-white: #ffffff;

    /* Background Colors */
    --aahan-bg: #ffffff;
    --aahan-bg-light: #f7f8fa;
    --aahan-bg-soft: #f3f5f8;

    /* Border */
    --aahan-border: #e5e7eb;

    /* Container */
    --aahan-container: 1280px;

    /* Border Radius */
    --aahan-radius-sm: 8px;
    --aahan-radius-md: 12px;
    --aahan-radius-lg: 20px;
    --aahan-radius-xl: 28px;

    /* Shadows */
    --aahan-shadow-sm:
        0 2px 10px rgba(0, 0, 0, 0.05);

    --aahan-shadow-md:
        0 10px 30px rgba(0, 0, 0, 0.08);

    /* Transition */
    --aahan-transition: 0.25s ease;
}


/* ==========================================================
   3. GLOBAL BOX SIZING
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* ==========================================================
   4. HTML
   ========================================================== */

html {
    scroll-behavior: smooth;
}


/* ==========================================================
   5. BODY
   ========================================================== */

body {
    margin: 0;
    padding: 0;

    font-family: "Figtree", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;

    background-color: var(--aahan-bg);
    color: var(--aahan-text);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ==========================================================
   6. TYPOGRAPHY
   ========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    font-family: "Figtree", sans-serif;
    font-weight: 700;
    line-height: 1.2;

    color: var(--aahan-text);
}


h1 {
    font-size: 56px;
}


h2 {
    font-size: 42px;
}


h3 {
    font-size: 32px;
}


h4 {
    font-size: 24px;
}


h5 {
    font-size: 20px;
}


h6 {
    font-size: 18px;
}


p {
    font-family: "Figtree", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;

    color: var(--aahan-text-secondary);
}


/* ==========================================================
   7. LINKS
   ========================================================== */

a {
    transition:
        color var(--aahan-transition),
        background-color var(--aahan-transition),
        border-color var(--aahan-transition),
        opacity var(--aahan-transition),
        transform var(--aahan-transition);
}


/* ==========================================================
   8. IMAGES
   ========================================================== */

img {
    max-width: 100%;
    height: auto;
}


/* ==========================================================
   9. FORM ELEMENTS
   ========================================================== */

button,
input,
select,
textarea {
    font-family: "Figtree", sans-serif;
}


/*
   IMPORTANT:

   Legacy style.css currently forces form elements and
   buttons to 12px using !important.

   This rule temporarily overrides that old CSS.

   Once style.css has been cleaned, we can remove
   !important from this rule.
*/

button,
input,
select,
textarea {
    font-size: 16px !important;
}


/* ==========================================================
   10. MODERN CONTAINER
   ========================================================== */

.aahan-container {
    width: calc(100% - 48px);
    max-width: var(--aahan-container);

    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   11. SECTION SPACING
   ========================================================== */

.aahan-section {
    padding-top: 96px;
    padding-bottom: 96px;
}


.aahan-section-sm {
    padding-top: 64px;
    padding-bottom: 64px;
}


.aahan-section-lg {
    padding-top: 120px;
    padding-bottom: 120px;
}


/* ==========================================================
   12. BACKGROUND UTILITIES
   ========================================================== */

.aahan-bg-white {
    background-color: var(--aahan-bg);
}


.aahan-bg-light {
    background-color: var(--aahan-bg-light);
}


.aahan-bg-soft {
    background-color: var(--aahan-bg-soft);
}


/* ==========================================================
   13. TEXT UTILITIES
   ========================================================== */

.aahan-text-primary {
    color: var(--aahan-text);
}


.aahan-text-secondary {
    color: var(--aahan-text-secondary);
}


.aahan-text-muted {
    color: var(--aahan-text-muted);
}


.aahan-text-white {
    color: var(--aahan-white);
}


/* ==========================================================
   14. VISIBILITY UTILITIES
   ========================================================== */

.aahan-mobile-only {
    display: none;
}


/* ==========================================================
   TABLET
   768px - 991px
   ========================================================== */

@media (max-width: 991px) {

    /* Typography */

    h1 {
        font-size: 46px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 28px;
    }


    /* Sections */

    .aahan-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .aahan-section-sm {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .aahan-section-lg {
        padding-top: 88px;
        padding-bottom: 88px;
    }

}


/* ==========================================================
   MOBILE
   0px - 767px
   ========================================================== */

@media (max-width: 767px) {

    /* Body */

    body {
        font-size: 15px;
    }


    /* Typography */

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 21px;
    }

    h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 16px;
    }

    p {
        font-size: 15px;
    }


    /* Container */

    .aahan-container {
        width: calc(100% - 32px);
    }


    /* Sections */

    .aahan-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .aahan-section-sm {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .aahan-section-lg {
        padding-top: 72px;
        padding-bottom: 72px;
    }


    /* Visibility */

    .aahan-desktop-only {
        display: none !important;
    }

    .aahan-mobile-only {
        display: block;
    }

}