/* CSS Variables */
:root {
    --header-height: 3.5rem;
    
    /* Colors */
    --primary-color: #6366f1;
    --primary-color-alt: #5855f7;
    --secondary-color: #ec4899;
    --title-color: #1f2937;
    --text-color: #6b7280;
    --text-color-light: #9ca3af;
    --body-color: #ffffff;
    --container-color: #ffffff;
    --border-color: #e5e7eb;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --gradient-3: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);

    /* Typography */
    --body-font: 'Poppins', sans-serif;
    --biggest-font-size: 3rem;
    --bigger-font-size: 2.25rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;

    /* Font Weight */
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;
    --font-extra-bold: 800;

    /* Margins */
    --mb-0-25: 0.25rem;
    --mb-0-5: 0.5rem;
    --mb-0-75: 0.75rem;
    --mb-1: 1rem;
    --mb-1-25: 1.25rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-long: all 0.5s ease;

    /* Border Radius */
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;

    /* Box Shadow */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Responsive Typography */
@media screen and (min-width: 968px) {
    :root {
        --biggest-font-size: 4rem;
        --bigger-font-size: 3rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.5rem;
        --normal-font-size: 1rem;
        --small-font-size: 0.875rem;
        --smaller-font-size: 0.813rem;
    }
}

/* Base Styles */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
    max-width: 100%;
}

h1, h2, h3, h4 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    line-height: 1.3;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
}

/* Reusable CSS Classes */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
}

.grid {
    display: grid;
}

.section {
    padding: 5rem 0 2rem;
}

.section__header {
    text-align: center;
    margin-bottom: var(--mb-3);
}

.section__subtitle {
    display: inline-block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--mb-0-5);
}

.section__title {
    font-size: var(--bigger-font-size);
    font-weight: var(--font-extra-bold);
    margin-bottom: var(--mb-1);
}

.section__description {
    font-size: var(--normal-font-size);
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: var(--font-medium);
    font-size: var(--normal-font-size);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    min-height: 48px;
}

.button--primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-lg);
}

.button--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.button--secondary {
    background: var(--gradient-2);
    color: white;
    box-shadow: var(--shadow-lg);
}

.button--secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.button--outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.button--outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.button--ghost {
    background: transparent;
    color: var(--title-color);
    border: 2px solid var(--border-color);
}

.button--ghost:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Header */
.header {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: var(--font-bold);
    color: var(--title-color);
    font-size: var(--h3-font-size);
}

.nav__logo img {
    width: 32px;
    height: 32px;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-weight: var(--font-medium);
    color: var(--text-color);
    position: relative;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 0;
    z-index: 10;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__button {
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    transition: var(--transition);
}

.nav__button--primary {
    background: var(--gradient-1);
    color: white;
}

.nav__button--primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Mobile-first navigation base styles - HIDDEN BY DEFAULT */
@media screen and (max-width: 967px) {
    .nav__menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        padding: calc(var(--header-height) + 2rem) 0 2rem !important;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
        z-index: calc(var(--z-fixed) + 10) !important;
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        overflow-y: auto !important;
        transform: translateX(0) !important;
    }
    
    /* Ensure menu is completely off-screen */
    .nav__menu:not(.show-menu) {
        right: -100% !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Only show when explicitly toggled */
    .nav__menu.show-menu {
        right: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Mobile navigation list styles */
@media screen and (max-width: 967px) {
    .nav__list {
        flex-direction: column !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .nav__item {
        width: 100% !important;
        border-bottom: 1px solid rgba(99, 102, 241, 0.1) !important;
    }

    .nav__link {
        font-size: 1.2rem !important;
        font-weight: var(--font-medium) !important;
        color: var(--title-color) !important;
        display: block !important;
        padding: 1.5rem 0 !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
        text-decoration: none !important;
    }

    .nav__link:hover,
    .nav__link.active-link {
        color: var(--primary-color) !important;
        background: rgba(99, 102, 241, 0.1) !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Hide toggle/close by default (desktop) */
.nav__toggle,
.nav__close {
    display: none !important;
}

/* Show toggle and close buttons only on mobile */
@media screen and (max-width: 967px) {
    .nav__toggle,
    .nav__close {
        display: block !important;
        font-size: 1.5rem !important;
        color: var(--title-color) !important;
        cursor: pointer !important;
        z-index: calc(var(--z-fixed) + 20) !important;
        padding: 0.5rem !important;
        transition: all 0.3s ease !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    .nav__close {
        position: absolute !important;
        top: 2rem !important;
        right: 2rem !important;
        background: rgba(255, 255, 255, 0.9) !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }

    .nav__toggle:hover,
    .nav__close:hover {
        color: var(--primary-color) !important;
        transform: scale(1.1) !important;
    }
}

.nav__actions--desktop {
    display: none;
}

/* Duplicate toggle/close button styles removed - using base mobile-first styles above */

/* Duplicate mobile styles removed - using base mobile-first styles above */

/* Mobile menu overlay */
.nav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: calc(var(--z-fixed) + 5);
    transition: all 0.4s ease;
}

.nav__overlay.show-overlay {
    opacity: 1;
    visibility: visible;
}

/* Show menu when active */
.nav__menu.show-menu {
    right: 0;
}

/* Mobile navigation actions */
@media screen and (max-width: 967px) {
    .nav__menu .nav__actions {
        position: absolute !important;
        bottom: 3rem !important;
        left: 2rem !important;
        right: 2rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin-top: auto !important;
    }
    
    .nav__menu .nav__button {
        width: 100% !important;
        text-align: center !important;
        padding: 1rem !important;
        font-size: var(--normal-font-size) !important;
        border-radius: 25px !important;
    }
    
    /* Hide desktop nav actions on mobile */
    .nav__actions--desktop {
        display: none !important;
    }
    
    /* Ensure mobile menu covers full screen when shown */
    .nav__menu.show-menu {
        right: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Mobile toggle button positioning */
    .nav__toggle {
        position: relative !important;
        z-index: calc(var(--z-fixed) + 20) !important;
    }
}

/* Desktop navigation - override all mobile styles */
@media screen and (min-width: 968px) {
    .nav__menu {
        position: static !important;
        display: block !important;
        background: transparent !important;
        backdrop-filter: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        width: auto !important;
        height: auto !important;
        right: 0 !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav__list {
        display: flex !important;
        flex-direction: row !important;
        gap: 2rem !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .nav__item {
        border-bottom: none !important;
        width: auto !important;
    }

    .nav__link {
        font-size: var(--normal-font-size) !important;
        font-weight: var(--font-medium) !important;
        color: var(--text-color) !important;
        position: relative !important;
        transition: var(--transition) !important;
        cursor: pointer !important;
        text-decoration: none !important;
        display: inline-block !important;
        padding: 0.5rem 0 !important;
        text-align: left !important;
    }

    .nav__link::after {
        content: '' !important;
        position: absolute !important;
        bottom: -5px !important;
        left: 0 !important;
        width: 0 !important;
        height: 2px !important;
        background: var(--gradient-1) !important;
        transition: var(--transition) !important;
    }

    .nav__link:hover::after,
    .nav__link.active-link::after {
        width: 100% !important;
    }

    .nav__link:hover,
    .nav__link.active-link {
        color: var(--primary-color) !important;
        background: transparent !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .nav__toggle,
    .nav__close {
        display: none !important;
    }
    
    .nav__actions--desktop {
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
    }
    
    .nav__menu .nav__actions {
        display: none !important;
    }
}

/* Home Section */
.home {
    padding-top: calc(var(--header-height) + 3rem);
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
    position: relative;
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.home__container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.home__data {
    z-index: 2;
}

.home__title {
    font-size: var(--biggest-font-size);
    font-weight: var(--font-extra-bold);
    line-height: 1.1;
    margin-bottom: var(--mb-1);
}

.home__title-highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home__description {
    font-size: var(--h3-font-size);
    color: var(--text-color);
    margin-bottom: var(--mb-2);
    line-height: 1.6;
}

.home__buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--mb-3);
    flex-wrap: wrap;
}

.home__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.home__stat {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.home__stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.home__stat-number {
    display: block;
    font-size: var(--h2-font-size);
    font-weight: var(--font-extra-bold);
    color: var(--primary-color);
    margin-bottom: var(--mb-0-25);
}

.home__stat-text {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    font-weight: var(--font-medium);
}

.home__images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home__img-main {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.2));
    animation: float 6s ease-in-out infinite;
}

.home__floating {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.floating-element-1 {
    top: 20%;
    left: 10%;
    background: var(--gradient-1);
    animation-delay: -1s;
}

.floating-element-2 {
    top: 60%;
    right: 10%;
    background: #ff0000;
    animation-delay: -2s;
}

.floating-element-3 {
    bottom: 20%;
    left: 20%;
    background: #1877f2;
    animation-delay: -3s;
}

.floating-element-4 {
    top: 30%;
    right: 20%;
    background: #000000;
    animation-delay: -4s;
}

/* Services Section */
.services {
    background: white;
}

.services__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media screen and (max-width: 992px) {
    .services__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .services__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.service__card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition-long);
    border: 1px solid var(--border-color);
    width: 100%;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.service__card:hover::before {
    transform: scaleX(1);
}

.service__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service__icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: var(--mb-1-5);
    transition: var(--transition);
}

.service__card:hover .service__icon {
    transform: scale(1.1) rotate(5deg);
}

.service__title {
    font-size: var(--h2-font-size);
    font-weight: var(--font-bold);
    margin-bottom: var(--mb-1);
    color: var(--title-color);
}

.service__description {
    color: var(--text-color);
    margin-bottom: var(--mb-1-5);
    line-height: 1.6;
}

.service__list {
    margin-bottom: var(--mb-2);
}

.service__list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--mb-0-5);
    color: var(--text-color);
}

.service__list i {
    color: var(--primary-color);
    font-size: var(--small-font-size);
}

/*=============== ANALYTICS SECTION ===============*/
.analytics {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

.analytics__container {
    max-width: 1200px;
    margin: 0 auto;
}

.analytics__form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    text-align: center;
}

.website-form .form-group {
    margin-bottom: 0;
}

.website-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--title-color);
    font-size: 1.1rem;
}

.input-group {
    display: flex;
    gap: 15px;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.input-group input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.input-group input:focus {
    outline: none;
    border-color: var(--first-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.analytics__results {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.analytics__header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.analytics__header h3 {
    font-size: 1.8rem;
    color: var(--title-color);
    margin-bottom: 10px;
}

.analytics__date {
    color: var(--text-color);
    font-size: 0.9rem;
    background: #f1f5f9;
    padding: 5px 15px;
    border-radius: 20px;
}

.analytics__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.analytics__card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.analytics__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
}

.analytics__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.analytics__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.analytics__icon i {
    font-size: 1.5rem;
    color: white;
}

.analytics__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--title-color);
    margin-bottom: 5px;
    line-height: 1;
}

.analytics__label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.analytics__change {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 15px;
}

.analytics__change.positive {
    background: #dcfce7;
    color: #166534;
}

.analytics__change.negative {
    background: #fee2e2;
    color: #dc2626;
}

.analytics__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.analytics__chart {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.analytics__chart h4 {
    font-size: 1.3rem;
    color: var(--title-color);
    margin-bottom: 25px;
    text-align: center;
}

.traffic-sources {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.source-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.source-name {
    min-width: 120px;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.source-bar {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.source-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
    border-radius: 10px;
    transition: width 0.8s ease;
}

.source-percent {
    min-width: 40px;
    font-weight: 600;
    color: var(--title-color);
    font-size: 0.9rem;
}

.analytics__recommendations {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.analytics__recommendations h4 {
    font-size: 1.3rem;
    color: var(--title-color);
    margin-bottom: 25px;
    text-align: center;
}

.recommendations-list {
    list-style: none;
    margin-bottom: 25px;
}

.recommendations-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.recommendations-list i {
    color: #10b981;
    font-size: 1rem;
}

.analytics__recommendations .button {
    width: 100%;
    justify-content: center;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .input-group {
        flex-direction: column;
        gap: 20px;
    }

    .input-group input {
        width: 100%;
    }

    .analytics__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .analytics__details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .analytics__form {
        padding: 30px 20px;
    }

    .analytics__results {
        padding: 30px 20px;
    }

    .source-item {
        gap: 10px;
    }

    .source-name {
        min-width: 100px;
        font-size: 0.8rem;
    }
}

/* Features Section */
.features {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.features__container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature__card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition-long);
    border: 1px solid var(--border-color);
}

.feature__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature__icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto var(--mb-1-5);
    transition: var(--transition);
}

.feature__card:hover .feature__icon {
    transform: scale(1.1);
    background: var(--gradient-2);
}

.feature__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    margin-bottom: var(--mb-1);
    color: var(--title-color);
}

.feature__description {
    color: var(--text-color);
    line-height: 1.6;
}

/* Process Section */
.process {
    background: white;
}

.process__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.process__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.process__number {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--h2-font-size);
    font-weight: var(--font-bold);
    color: white;
    margin-bottom: var(--mb-1-5);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.process__step:hover .process__number {
    transform: scale(1.1);
    background: var(--gradient-2);
}

.process__content {
    z-index: 2;
}

.process__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    margin-bottom: var(--mb-0-75);
    color: var(--title-color);
}

.process__description {
    color: var(--text-color);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.testimonials__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial__card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition-long);
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial__card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.testimonial__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial__rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--mb-1);
}

.testimonial__rating i {
    color: #fbbf24;
    font-size: var(--small-font-size);
}

.testimonial__text {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: var(--mb-1-5);
    font-style: italic;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial__img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial__name {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 0.25rem;
}

.testimonial__title {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-alt) 100%);
    color: white;
}

.cta__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta__title {
    font-size: var(--bigger-font-size);
    font-weight: var(--font-extra-bold);
    margin-bottom: var(--mb-1);
    color: white;
}

.cta__description {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-2);
    opacity: 0.9;
    line-height: 1.6;
}

.cta__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta .button--primary {
    background: white;
    color: var(--primary-color);
}

.cta .button--primary:hover {
    background: var(--container-color);
}

.cta .button--ghost {
    border-color: white;
    color: white;
}

.cta .button--ghost:hover {
    background: white;
    color: var(--primary-color);
}

.cta__image img {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Footer */
.footer {
    background: var(--title-color);
    color: white;
    padding: 3rem 0 2rem;
}

.footer__container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: var(--mb-2);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: var(--font-bold);
    color: white;
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
}

.footer__logo img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.footer__description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--mb-1-5);
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer__social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    margin-bottom: var(--mb-1);
    color: white;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--mb-2);
    text-align: center;
}

.footer__copy {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--small-font-size);
}

/* Scroll Up */
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    background: var(--gradient-1);
    opacity: 0.8;
    padding: 0.3rem;
    border-radius: 0.4rem;
    z-index: var(--z-tooltip);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.scrollup:hover {
    background: var(--primary-color-alt);
    opacity: 1;
}

.scrollup__icon {
    font-size: 1.2rem;
    color: white;
}

.show-scroll {
    bottom: 3rem;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* AOS Animation Overrides */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .container {
        margin-left: var(--mb-2);
        margin-right: var(--mb-2);
    }
}

@media screen and (max-width: 968px) {
    .nav__menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        transition: var(--transition);
        z-index: var(--z-fixed);
    }

    .nav__menu.show-menu {
        top: var(--header-height);
    }

    .nav__list {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        font-size: 1.2rem;
        color: var(--title-color);
        cursor: pointer;
    }

    .nav__toggle {
        display: block !important;
        font-size: 1.4rem;
        color: var(--title-color);
        cursor: pointer;
        z-index: calc(var(--z-fixed) + 1);
    }

    .nav__actions {
        order: -1;
        gap: 0.5rem;
    }

    .nav__button {
        padding: 0.4rem 1rem;
        font-size: var(--smaller-font-size);
    }

    .home__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .home__data {
        order: 2;
    }

    .home__images {
        order: 1;
    }

    .home__stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .home__buttons {
        justify-content: center;
    }

    .cta__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .process__container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .container {
        margin-left: var(--mb-1);
        margin-right: var(--mb-1);
    }

    .home__title {
        font-size: var(--bigger-font-size);
    }

    .home__description {
        font-size: var(--normal-font-size);
    }

    .home__buttons {
        flex-direction: column;
        align-items: center;
    }

    .button {
        width: 100%;
        max-width: 300px;
    }

    .services__container,
    .features__container,
    .testimonials__container {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
        gap: 1rem;
    }

    .service__card,
    .feature__card,
    .testimonial__card {
        padding: 1.5rem;
    }

    .section__title {
        font-size: var(--h1-font-size);
    }

    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media screen and (max-width: 350px) {
    .container {
        margin-left: var(--mb-0-75);
        margin-right: var(--mb-0-75);
    }

    .nav__logo span {
        display: none;
    }

    .home__floating {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/*=============== CONTACT PAGE ===============*/
.contact-hero {
    padding: 8rem 0 4rem;
    background: var(--gradient-1);
    color: white;
    text-align: center;
}

.contact-hero__title {
    font-size: var(--bigger-font-size);
    font-weight: var(--font-extra-bold);
    margin-bottom: var(--mb-1);
}

.contact-hero__description {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-2-5);
    opacity: 0.9;
}

.contact-hero__stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-methods {
    padding: var(--mb-3) 0;
}

.contact-methods__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-method {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.method__icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1-5);
}

.method__icon i {
    font-size: 2rem;
    color: white;
}

.method__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
}

.method__description {
    margin-bottom: var(--mb-1-5);
}

.method__button {
    width: 100%;
}

.contact-form {
    padding: var(--mb-3) 0;
    background: #f8fafc;
}

.contact-form__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form__title {
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
}

.contact-form__description {
    margin-bottom: var(--mb-2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info__item {
    display: flex;
    gap: 1rem;
}

.info__icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info__icon i {
    color: white;
    font-size: 1.25rem;
}

.info__content h4 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-5);
}

.contact-form__form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form__group {
    margin-bottom: var(--mb-1-5);
}

.form__label {
    display: block;
    margin-bottom: var(--mb-0-5);
    font-weight: var(--font-medium);
    color: var(--title-color);
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form__checkbox input[type="checkbox"] {
    width: auto;
}

.form__submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: var(--normal-font-size);
}

/*=============== ABOUT PAGE ===============*/
.about-hero {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-hero__title {
    font-size: var(--bigger-font-size);
    font-weight: var(--font-extra-bold);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
    line-height: 1.2;
}

.about-hero__description {
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-2);
    line-height: 1.6;
    color: var(--text-color);
}

.about-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-bottom: var(--mb-2);
}

.about-hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-hero__image {
    text-align: center;
}

.hero__img {
    max-width: 100%;
    height: auto;
}

.our-story {
    padding: var(--mb-3) 0;
    background: #f8fafc;
}

.our-story__container {
    max-width: 800px;
    margin: 0 auto;
}

.story__content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.story__content h3 {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
}

.story__content:last-child {
    margin-bottom: 0;
}

.mission-vision {
    padding: var(--mb-3) 0;
}

.mission-vision__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.mission__content,
.vision__content {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mission__content:hover,
.vision__content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.content__icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1-5);
}

.content__icon i {
    font-size: 2rem;
    color: white;
}

.content__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
}

.values {
    padding: var(--mb-3) 0;
    background: #f8fafc;
}

.values__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value__item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.value__item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value__icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1);
}

.value__icon i {
    color: white;
    font-size: 1.5rem;
}

.value__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: var(--mb-0-75);
}

.team {
    padding: var(--mb-3) 0;
}

.team__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team__member {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
}

.team__member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.member__image {
    height: 280px;
    overflow: hidden;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team__member:hover .member__image img {
    transform: scale(1.05);
}

.member__content {
    padding: 2rem;
    text-align: center;
}

.member__name {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: var(--mb-0-25);
}

.member__role {
    color: var(--primary-color);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-1);
}

.member__description {
    margin-bottom: var(--mb-1-5);
}

.member__social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social__link {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
}

.social__link:hover {
    background: var(--primary-color);
    color: white;
}

.why-choose {
    padding: var(--mb-3) 0;
    background: #f8fafc;
}

.why-choose__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.choose__item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.choose__item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.item__number {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: var(--font-bold);
    font-size: var(--h3-font-size);
}

.item__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
    margin-top: var(--mb-1);
}

/*=============== RESPONSIVE DESIGN FOR CONTACT & ABOUT ===============*/
@media screen and (max-width: 768px) {
    .contact-form__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }
    
    .about-hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .about-hero__title {
        font-size: var(--h1-font-size);
    }
    
    .about-hero__description {
        font-size: var(--normal-font-size);
    }
    
    .mission-vision__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-hero__stats {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
        justify-content: center;
    }
    
    .about-hero__buttons {
        justify-content: center;
    }
    
    .values__container {
        grid-template-columns: 1fr;
    }
    
    .team__container {
        grid-template-columns: 1fr;
    }
    
    .why-choose__container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .contact-methods__container {
        grid-template-columns: 1fr;
    }

    .contact-hero__stats {
        flex-direction: column;
        align-items: center;
    }

    .about-hero__stats {
        flex-direction: column;
        align-items: center;
    }
}

/* Values Section */
.value__item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.value__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value__icon i {
    color: white;
    font-size: 2rem;
}

.value__title {
    color: var(--title-color);
    font-size: var(--h3-font-size);
    font-weight: 600;
    margin-bottom: 1rem;
}

.value__description {
    color: var(--text-color);
    line-height: 1.7;
}

/* Our Story Section */
.our-story__container {
    max-width: 800px;
    margin: 0 auto;
}

.story__content {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.story__content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story__content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.story__content p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Mobile responsive for values */
@media screen and (max-width: 768px) {
    .value__item {
        padding: 1.5rem;
    }
    
    .value__icon {
        width: 60px;
        height: 60px;
    }
    
    .value__icon i {
        font-size: 1.5rem;
    }
    
    .value__title {
        font-size: 1.2rem;
    }
    
    /* About page mobile improvements */
    .about-hero {
        padding: 6rem 0 4rem;
    }
    
    .about-hero__title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .about-hero__description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .about-hero__stats {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .stat__number {
        font-size: 1.5rem;
    }
    
    .stat__text {
        font-size: 0.8rem;
    }
    
    /* Mission Vision Mobile */
    .mission-vision__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-vision__item {
        padding: 2rem;
    }
    
    /* Team mobile improvements */
    .team__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team__member {
        padding: 2rem;
        text-align: center;
    }
    
    /* Why choose mobile */
    .why-choose__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .choose__item {
        padding: 2rem;
        text-align: center;
    }
    
    .item__number {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* CTA Section mobile */
    .cta__title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .cta__buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta__buttons .button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
    .about-hero {
        padding: 5rem 0 3rem;
    }
    
    .about-hero__title {
        font-size: 1.5rem;
    }
    
    .about-hero__description {
        font-size: 0.9rem;
    }
    
    .value__item {
        padding: 1rem;
    }
    
    .team__member {
        padding: 1.5rem;
    }
    
    .choose__item {
        padding: 1.5rem;
    }
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.user-dropdown__trigger:hover {
    background: var(--primary-color-alt);
}

.user-name {
    font-weight: var(--font-medium);
}

.user-dropdown__menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--body-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: var(--z-modal);
    display: none;
}

.user-dropdown__menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-align: left;
    transition: var(--transition);
    border: none;
    background: transparent;
    font-size: var(--normal-font-size);
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

.dropdown-item:first-child {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.dropdown-item button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    font-size: var(--normal-font-size);
    color: var(--text-color);
    cursor: pointer;
}

.dropdown-item button:hover {
    background: var(--primary-color);
    color: white;
}

/* User Dropdown JavaScript */
document.addEventListener('DOMContentLoaded', function() {
    const dropdowns = document.querySelectorAll('.user-dropdown');
    
    dropdowns.forEach(dropdown => {
        const trigger = dropdown.querySelector('.user-dropdown__trigger');
        const menu = dropdown.querySelector('.user-dropdown__menu');
        
        trigger.addEventListener('click', function(e) {
            e.stopPropagation();
            menu.classList.toggle('show');
        });
        
        // Close dropdown when clicking outside
        document.addEventListener('click', function() {
            menu.classList.remove('show');
        });
        
        // Prevent closing when clicking inside the dropdown
        menu.addEventListener('click', function(e) {
            e.stopPropagation();
        });
    });
});
