/* ==================== RESET & VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #2c9c93;
    --primary-dark: #1a6760;
    --primary-light: #3dbdb2;
    --secondary-color: #1a6760;
    --accent-color: #f5a623;
    --accent-hover: #e89710;

    /* Background Colors */
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --card-bg: #252525;
    --overlay-bg: rgba(0, 0, 0, 0.7);

    /* Text Colors */
    --light-text: #ffffff;
    --gray-text: #b0b0b0;
    --dark-text: #333333;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2c9c93, #1a6760);
    --gradient-accent: linear-gradient(135deg, #f5a623, #e89710);
    --gradient-overlay: linear-gradient(135deg, rgba(44, 156, 147, 0.3), rgba(0, 0, 0, 0.7));

    /* Spacing */
    --section-padding: 100px;
    --container-padding: 20px;

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 15px 50px rgba(0, 0, 0, 0.4);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    --radius-full: 50px;
}

html {
    font-size: 16px;
    max-width: 100vw;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background:
        linear-gradient(135deg,
            #0f2027 0%,
            #203a43 15%,
            #2c5364 30%,
            #1e3c72 45%,
            #2a5298 60%,
            #7e22ce 75%,
            #4c1d95 90%,
            #1e293b 100%
        );
    background-attachment: fixed;
    max-width: 100vw;
    width: 100%;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Screen reader only class for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Image optimization for performance */
img {
    height: auto;
    max-width: 100%;
    display: block;
    content-visibility: auto;
}

/* Animated Background Effects - Glowing Orbs - DISABLED FOR PERFORMANCE */
/*
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 15% 20%, rgba(34, 211, 238, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 30%, rgba(168, 85, 247, 0.35) 0%, transparent 45%),
        radial-gradient(ellipse at 70% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 70%, rgba(16, 185, 129, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(196, 181, 253, 0.2) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 25s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% {
        transform: scale(1) translate(0, 0);
        opacity: 1;
    }
    33% {
        transform: scale(1.1) translate(20px, -20px);
        opacity: 0.8;
    }
    66% {
        transform: scale(0.95) translate(-20px, 20px);
        opacity: 0.9;
    }
}
*/

/* Mesh Pattern Overlay - DISABLED FOR PERFORMANCE */
/*
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(44, 156, 147, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 156, 147, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}
*/

/* Floating Particles */
.particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: rgba(44, 156, 147, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) scale(1);
        opacity: 0;
    }
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Section Background Enhancements */
section {
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    width: 100%;
}

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

/* ==================== NAVIGATION ==================== */
.navbar {
    background: linear-gradient(135deg,
        rgba(15, 32, 39, 0.95) 0%,
        rgba(30, 60, 114, 0.9) 50%,
        rgba(15, 32, 39, 0.95) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%);
    pointer-events: none;
}

.navbar.scrolled {
    background: linear-gradient(135deg,
        rgba(15, 32, 39, 0.98) 0%,
        rgba(30, 60, 114, 0.95) 50%,
        rgba(15, 32, 39, 0.98) 100%
    );
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
    position: relative;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-color), #e89710);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: logoShine 3s infinite;
}

@keyframes logoShine {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.logo-icon i {
    font-size: 1.3rem;
    color: var(--light-text);
    position: relative;
    z-index: 1;
}

.logo-text h1 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    font-weight: 800;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-tagline {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-top: -2px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link i {
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.nav-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Call to Action Button */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-cta-btn {
    background: var(--gradient-accent);
    color: var(--light-text);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.nav-cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.nav-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.6);
}

.nav-cta-btn i,
.nav-cta-btn span {
    position: relative;
    z-index: 1;
}

.nav-cta-btn i {
    animation: ring 2s infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.mobile-menu-toggle.active {
    background: rgba(245, 166, 35, 0.3);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Contact Info in Menu */
.mobile-contact-info {
    display: none;
}

.mobile-contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.mobile-contact-header i {
    font-size: 1.2rem;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.mobile-contact-header span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.mobile-contact-item:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateX(5px);
}

.mobile-contact-item i {
    color: #e8deff;
    font-size: 1.1rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(126, 34, 206, 0.4);
    border-radius: 8px;
    flex-shrink: 0;
}

.mobile-contact-item a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    flex: 1;
}

.mobile-social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 20px 0 10px;
    flex-wrap: wrap;
}

.mobile-social-links a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(44, 156, 147, 0.3);
    position: relative;
    overflow: hidden;
}

.mobile-social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.mobile-social-links a:hover::before {
    width: 100%;
    height: 100%;
}

.mobile-social-links a:hover {
    background: var(--gradient-accent);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
}

.mobile-social-links a i {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(44, 156, 147, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(139, 92, 246, 0.3) 100%
    ),
    url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1920') center/cover no-repeat fixed;
    overflow: hidden;
    padding: 120px 20px 60px;
    margin-top: -65px;
    padding-top: 130px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(44, 156, 147, 0.4) 0%,
        rgba(59, 130, 246, 0.3) 25%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(139, 92, 246, 0.3) 75%,
        rgba(16, 185, 129, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

.hero-subtitle {
    color: var(--accent-color);
    font-size: clamp(0.75rem, 2vw, 1rem);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.gradient-text {
    background: linear-gradient(90deg, var(--light-text), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
    margin-top: 10px;
}

.btn {
    padding: 15px 35px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light-text);
    box-shadow: 0 5px 20px rgba(44, 156, 147, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(44, 156, 147, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 45px;
    border: 2px solid var(--light-text);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background-color: var(--light-text);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 25px; opacity: 0.5; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: var(--section-padding) 0;
    background: transparent;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-images {
    position: relative;
    min-height: 400px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.about-img-1,
.about-img-2 {
    position: absolute;
    width: min(350px, 90%);
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-img-1 {
    top: 0;
    right: 0;
    z-index: 2;
}

.about-img-2 {
    bottom: 0;
    left: 0;
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: 80px;
    right: min(60px, 10%);
    background: var(--gradient-primary);
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 10px 30px rgba(44, 156, 147, 0.4);
    z-index: 3;
}

.experience-number {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--light-text);
    display: block;
    line-height: 1;
}

.experience-text {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    color: var(--light-text);
    display: block;
    margin-top: 5px;
}

.section-subtitle {
    color: var(--accent-color);
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--light-text);
}

.highlight {
    color: var(--primary-color);
}

.about-text {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(37, 37, 37, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(44, 156, 147, 0.2);
}

.stat-item i {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-color);
}

.stat-item h4 {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--light-text);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    color: var(--gray-text);
}

/* ==================== PRODUCTS SECTION ==================== */
.products-section {
    padding: var(--section-padding) 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float-circle 20s ease-in-out infinite;
}

@keyframes float-circle {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 50px); }
}

.products-intro {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 80px 0;
    margin-bottom: 80px;
}

.products-intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .products-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.products-image {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.products-image img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.products-intro-text {
    color: var(--light-text);
}

.products-intro-text p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: rgba(37, 37, 37, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    width: 100%;
    max-width: 100%;
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-10px) translateZ(0);
    box-shadow: 0 15px 40px rgba(44, 156, 147, 0.3);
    will-change: transform, box-shadow;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 156, 147, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    padding: 12px 30px;
    background-color: var(--light-text);
    color: var(--primary-color);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.quick-view-btn:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--light-text);
    margin-bottom: 10px;
}

.product-info p {
    color: var(--gray-text);
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    padding: var(--section-padding) 0;
    background: transparent;
    position: relative;
    overflow: visible;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.05), transparent);
    pointer-events: none;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: rgba(37, 37, 37, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 100%;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(44, 156, 147, 0.2);
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 800;
    color: rgba(44, 156, 147, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--light-text);
}

.feature-card h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--light-text);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray-text);
    line-height: 1.8;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* ==================== WHY CHOOSE US SECTION ==================== */
.why-choose-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg,
        rgba(44, 156, 147, 0.2) 0%,
        rgba(59, 130, 246, 0.15) 25%,
        rgba(139, 92, 246, 0.2) 50%,
        rgba(26, 103, 96, 0.25) 75%,
        rgba(16, 185, 129, 0.15) 100%
    );
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.why-choose-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 640px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 100%;
}

.why-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    transform: scale(1.1);
}

.why-icon i {
    font-size: 1.8rem;
    color: var(--light-text);
}

.why-card h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--light-text);
    margin-bottom: 12px;
}

.why-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: transparent;
    position: relative;
    overflow: visible;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

.testimonial-card {
    background: rgba(37, 37, 37, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.quote-icon {
    font-size: clamp(2.5rem, 5vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--light-text);
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--primary-color);
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
}

.testimonial-rating {
    margin-top: 20px;
}

.testimonial-rating i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin: 0 3px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--light-text);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.testimonial-btn:hover {
    background: var(--gradient-accent);
    transform: scale(1.1);
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: var(--section-padding) 0;
    background: transparent;
    position: relative;
    overflow: visible;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float-circle 25s ease-in-out infinite reverse;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-card {
    background: rgba(37, 37, 37, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--radius-lg);
    height: fit-content;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--light-text);
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--light-text);
    margin-bottom: 5px;
}

.contact-info-item p {
    color: var(--gray-text);
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
    word-break: break-word;
}

.contact-form {
    background: rgba(37, 37, 37, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--light-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c9c93' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 45px;
}

.form-group select option {
    background: #1c1c1e;
    color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(44, 156, 147, 0.1);
    box-shadow: 0 0 0 4px rgba(44, 156, 147, 0.1);
}

.form-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(44, 156, 147, 0.7);
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 2;
}

.form-group input:focus + i,
.form-group select:focus + i,
.form-group textarea:focus + i {
    color: var(--primary-color);
}

.form-group textarea {
    padding-top: 16px;
    resize: vertical;
    min-height: 120px;
}

.form-group textarea + i {
    top: 20px;
    transform: none;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg,
        rgba(44, 156, 147, 0.15) 0%,
        rgba(26, 103, 96, 0.2) 25%,
        rgba(59, 130, 246, 0.15) 50%,
        rgba(139, 92, 246, 0.2) 75%,
        rgba(16, 185, 129, 0.15) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 60px 0 30px;
    border-top: 2px solid rgba(44, 156, 147, 0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-col p {
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-accent);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--light-text);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray-text);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact li i {
    color: var(--primary-color);
    width: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-text);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.footer-bottom i {
    color: #ff4757;
}

/* ==================== SCROLL TO TOP BUTTON ==================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--light-text);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(44, 156, 147, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(44, 156, 147, 0.6);
}

/* ==================== POPUP FORM MODAL ==================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    background: linear-gradient(135deg, rgba(28, 28, 30, 0.95) 0%, rgba(44, 44, 46, 0.95) 100%);
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    position: relative;
    transform: scale(0.7) translateY(-50px);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(44, 156, 147, 0.3);
    overflow: hidden;
}

.popup-overlay.active .popup-modal {
    transform: scale(1) translateY(0);
}

.popup-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c9c93, #f5a623, #2c9c93);
    background-size: 200% 100%;
    animation: gradientSlide 3s linear infinite;
}

@keyframes gradientSlide {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-close:hover {
    background: rgba(255, 59, 48, 0.2);
    border-color: rgba(255, 59, 48, 0.5);
    transform: rotate(90deg);
}

.popup-content {
    padding: 50px 40px 40px;
}

.popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2c9c93, #1a6760);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(44, 156, 147, 0.4);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.popup-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.popup-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.5;
}

.popup-form-group {
    margin-bottom: 20px;
}

.popup-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.popup-input-wrapper i {
    position: absolute;
    left: 18px;
    color: rgba(44, 156, 147, 0.7);
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 2;
}

.popup-input-wrapper input,
.popup-input-wrapper select {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.popup-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.popup-input-wrapper select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c9c93' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 45px;
}

.popup-input-wrapper select option {
    background: #1c1c1e;
    color: #fff;
}

.popup-input-wrapper input:focus,
.popup-input-wrapper select:focus {
    border-color: #2c9c93;
    background: rgba(44, 156, 147, 0.1);
    box-shadow: 0 0 0 4px rgba(44, 156, 147, 0.1);
}

.popup-input-wrapper input:focus + i,
.popup-input-wrapper select:focus + i {
    color: #2c9c93;
}

.popup-submit-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #2c9c93, #1a6760);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 25px;
    box-shadow: 0 10px 30px rgba(44, 156, 147, 0.3);
    position: relative;
    overflow: hidden;
}

.popup-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.popup-submit-btn:hover::before {
    left: 100%;
}

.popup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(44, 156, 147, 0.5);
}

.popup-submit-btn:active {
    transform: translateY(0);
}

.popup-submit-btn i {
    transition: transform 0.3s ease;
}

.popup-submit-btn:hover i {
    transform: translateX(5px);
}

.popup-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.popup-footer i {
    color: #2c9c93;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .popup-content {
        padding: 40px 25px 30px;
    }

    .popup-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .popup-input-wrapper input,
    .popup-input-wrapper select {
        padding: 14px 18px 14px 45px;
        font-size: 0.95rem;
    }

    .popup-submit-btn {
        padding: 16px 25px;
        font-size: 1rem;
    }
}

/* ==================== ANIMATIONS ==================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
    will-change: auto;
}

[data-aos="fade-up"] {
    transform: translate3d(0, 50px, 0);
}

[data-aos="fade-up"].aos-animate {
    transform: translate3d(0, 0, 0);
}

[data-aos="fade-down"] {
    transform: translate3d(0, -50px, 0);
}

[data-aos="fade-down"].aos-animate {
    transform: translate3d(0, 0, 0);
}

[data-aos="fade-right"] {
    transform: translate3d(-50px, 0, 0);
}

[data-aos="fade-right"].aos-animate {
    transform: translate3d(0, 0, 0);
}

[data-aos="fade-left"] {
    transform: translate3d(50px, 0, 0);
}

[data-aos="fade-left"].aos-animate {
    transform: translate3d(0, 0, 0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(-90deg);
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(1000px) rotateY(0);
}

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

/* Large Tablets and Small Laptops (1024px and below) */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid,
    .products-intro-grid {
        gap: 40px;
    }

    .experience-badge {
        bottom: 60px;
        right: 30px;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
    }

    body {
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .navbar-container {
        height: 70px;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .logo-icon i {
        font-size: 1.3rem;
    }

    .logo-text h1 {
        font-size: 1.3rem;
    }

    .logo-tagline {
        font-size: 0.65rem;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(180deg,
            rgba(30, 60, 114, 0.98) 0%,
            rgba(42, 82, 152, 0.98) 25%,
            rgba(126, 34, 206, 0.98) 60%,
            rgba(76, 29, 149, 0.98) 100%
        );
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        max-height: 600px;
        padding: 15px 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 0;
    }

    .nav-link {
        width: 100%;
        padding: 18px 25px;
        justify-content: flex-start;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        background: transparent;
        font-size: 1rem;
    }

    .nav-link i {
        font-size: 1.2rem;
    }

    .nav-link::before {
        display: none;
    }

    .nav-link:hover {
        background: rgba(168, 85, 247, 0.15);
        border-left: 4px solid rgba(196, 181, 253, 0.8);
    }

    .nav-link.active {
        background: rgba(168, 85, 247, 0.25);
        border-left: 4px solid rgba(196, 181, 253, 1);
        color: #e8deff;
    }

    /* Show mobile contact info in menu */
    .mobile-contact-info {
        display: block;
        width: 100%;
        padding: 25px 20px;
        background: rgba(0, 0, 0, 0.4);
        border-top: 2px solid rgba(168, 85, 247, 0.5);
        margin-top: 10px;
    }

    .hero {
        min-height: 100vh;
        padding: 110px 20px 40px;
        margin-top: -70px;
        padding-top: 120px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .products-grid,
    .features-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 20px;
    }

    .product-card,
    .feature-card,
    .why-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .about-images {
        min-height: 350px;
    }

    .image-stack {
        min-height: 350px;
    }

    .about-img-1,
    .about-img-2 {
        width: min(300px, 85%);
        height: 250px;
    }

    .experience-badge {
        padding: 20px 25px;
        bottom: 40px;
        right: 20px;
    }

    .products-intro {
        padding: 60px 0;
        margin-bottom: 60px;
    }

    .products-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
    }

    .products-image {
        width: 100%;
    }

    .products-image img {
        max-width: 100%;
    }

    .products-grid {
        gap: 25px;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .features-grid,
    .why-choose-grid {
        gap: 25px;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
    }

    .contact-form,
    .contact-info-card {
        padding: 30px;
    }

    .footer-grid {
        gap: 30px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    :root {
        --section-padding: 50px;
        --container-padding: 15px;
    }

    html {
        font-size: 14px;
        overflow-x: hidden;
        max-width: 100vw;
    }

    body {
        overflow-x: hidden;
        max-width: 100vw;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .hero {
        min-height: 100vh;
        padding: 100px 15px 30px;
        margin-top: -70px;
        padding-top: 110px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .products-intro-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .products-grid,
    .features-grid,
    .why-choose-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .product-card,
    .feature-card,
    .why-card {
        width: 100%;
        min-width: 0;
    }

    .about-images {
        min-height: 300px;
    }

    .image-stack {
        min-height: 300px;
    }

    .about-img-1,
    .about-img-2 {
        width: min(250px, 80%);
        height: 200px;
    }

    .experience-badge {
        padding: 15px 20px;
        bottom: 20px;
        right: 10px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .products-intro {
        padding: 40px 0;
        margin-bottom: 40px;
    }

    .product-image {
        height: 220px;
    }

    .product-info {
        padding: 20px;
    }

    .feature-card,
    .why-card {
        padding: 30px 20px;
    }

    .testimonial-card {
        padding: 35px 25px;
    }

    .testimonial-controls {
        gap: 15px;
    }

    .testimonial-btn {
        width: 45px;
        height: 45px;
    }

    .contact-form,
    .contact-info-card {
        padding: 25px 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 40px 12px 15px;
    }

    .form-group i {
        right: 15px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        gap: 25px;
    }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    html {
        font-size: 13px;
    }

    .hero {
        min-height: 100vh;
        padding: 90px 15px 30px;
        margin-top: -70px;
        padding-top: 100px;
    }

    .about-img-1,
    .about-img-2 {
        width: min(220px, 75%);
        height: 180px;
    }

    .experience-badge {
        padding: 12px 18px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }
}

/* Landscape Mobile Devices */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 95px 20px 20px;
        margin-top: -65px;
        padding-top: 105px;
    }

    .scroll-indicator {
        display: none;
    }

    :root {
        --section-padding: 60px;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .navbar,
    .scroll-top,
    .hero-buttons,
    .scroll-indicator,
    .testimonial-controls,
    .contact-form {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }

    .section-title,
    .hero-title {
        color: black;
    }
}
