/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #0ea5e9;
    --accent-color: #06b6d4;
    --text-dark: #0f172a;
    --text-light: #475569;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #1e40af 0%, #0ea5e9 50%, #06b6d4 100%);
    --border-color: #cbd5e1;
    --shadow: 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);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-light);
    background-image: 
        /* Digital Marketing Icons Pattern */
        url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="digitalPattern" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="3" fill="rgba(30, 64, 175, 0.12)"/><circle cx="150" cy="50" r="3" fill="rgba(14, 165, 233, 0.12)"/><circle cx="50" cy="150" r="3" fill="rgba(6, 182, 212, 0.12)"/><circle cx="150" cy="150" r="3" fill="rgba(30, 64, 175, 0.12)"/><path d="M50 50 L150 50 L150 150 L50 150 Z" fill="none" stroke="rgba(30, 64, 175, 0.08)" stroke-width="1"/><path d="M50 50 L150 150" stroke="rgba(14, 165, 233, 0.08)" stroke-width="1"/><path d="M150 50 L50 150" stroke="rgba(6, 182, 212, 0.08)" stroke-width="1"/></pattern></defs><rect width="200" height="200" fill="url(%23digitalPattern)"/></svg>'),
        /* Network Connection Pattern */
        url('data:image/svg+xml,<svg width="150" height="150" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="networkPattern" width="150" height="150" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="rgba(30, 64, 175, 0.10)"/><circle cx="75" cy="30" r="2" fill="rgba(14, 165, 233, 0.10)"/><circle cx="120" cy="30" r="2" fill="rgba(6, 182, 212, 0.10)"/><circle cx="30" cy="75" r="2" fill="rgba(14, 165, 233, 0.10)"/><circle cx="75" cy="75" r="3" fill="rgba(30, 64, 175, 0.14)"/><circle cx="120" cy="75" r="2" fill="rgba(6, 182, 212, 0.10)"/><circle cx="30" cy="120" r="2" fill="rgba(6, 182, 212, 0.10)"/><circle cx="75" cy="120" r="2" fill="rgba(14, 165, 233, 0.10)"/><circle cx="120" cy="120" r="2" fill="rgba(30, 64, 175, 0.10)"/><line x1="30" y1="30" x2="75" y2="75" stroke="rgba(30, 64, 175, 0.08)" stroke-width="0.5"/><line x1="75" y1="30" x2="75" y2="75" stroke="rgba(14, 165, 233, 0.08)" stroke-width="0.5"/><line x1="120" y1="30" x2="75" y2="75" stroke="rgba(6, 182, 212, 0.08)" stroke-width="0.5"/><line x1="30" y1="75" x2="75" y2="75" stroke="rgba(14, 165, 233, 0.08)" stroke-width="0.5"/><line x1="120" y1="75" x2="75" y2="75" stroke="rgba(6, 182, 212, 0.08)" stroke-width="0.5"/><line x1="30" y1="120" x2="75" y2="75" stroke="rgba(6, 182, 212, 0.08)" stroke-width="0.5"/><line x1="75" y1="120" x2="75" y2="75" stroke="rgba(14, 165, 233, 0.08)" stroke-width="0.5"/><line x1="120" y1="120" x2="75" y2="75" stroke="rgba(30, 64, 175, 0.08)" stroke-width="0.5"/></pattern></defs><rect width="150" height="150" fill="url(%23networkPattern)"/></svg>'),
        /* Data Visualization Pattern */
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dataPattern" width="100" height="100" patternUnits="userSpaceOnUse"><rect x="10" y="80" width="8" height="20" fill="rgba(30, 64, 175, 0.10)"/><rect x="25" y="60" width="8" height="40" fill="rgba(14, 165, 233, 0.10)"/><rect x="40" y="40" width="8" height="60" fill="rgba(6, 182, 212, 0.10)"/><rect x="55" y="50" width="8" height="50" fill="rgba(30, 64, 175, 0.10)"/><rect x="70" y="30" width="8" height="70" fill="rgba(14, 165, 233, 0.10)"/><rect x="85" y="70" width="8" height="30" fill="rgba(6, 182, 212, 0.10)"/></pattern></defs><rect width="100" height="100" fill="url(%23dataPattern)"/></svg>');
    background-attachment: fixed;
    background-size: 200px 200px, 150px 150px, 100px 100px;
    background-position: 0 0, 50px 50px, 25px 25px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    min-height: 70px;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    overflow: visible;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: auto;
    max-height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
}

.logo h2 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Social Media Links in Header */
.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.social-icon:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.social-icon svg {
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.2);
}

/* Hero Section */
.hero {
    margin-top: 70px;
    height: 90vh;
    min-height: 500px;
    max-height: 700px;
    /* Brighter, professional hero background */
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.35) 0%, transparent 55%),
        radial-gradient(circle at bottom right, rgba(14,165,233,0.35) 0%, transparent 55%),
        linear-gradient(135deg, #1e40af 0%, #2563eb 45%, #0ea5e9 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg width="120" height="120" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="network" width="120" height="120" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="40" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="100" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="100" r="2" fill="rgba(255,255,255,0.1)"/><line x1="20" y1="20" x2="60" y2="40" stroke="rgba(255,255,255,0.08)" stroke-width="1"/><line x1="60" y1="40" x2="100" y2="20" stroke="rgba(255,255,255,0.08)" stroke-width="1"/><line x1="60" y1="40" x2="40" y2="80" stroke="rgba(255,255,255,0.08)" stroke-width="1"/><line x1="40" y1="80" x2="80" y2="100" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="120" height="120" fill="url(%23network)"/></svg>'),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 120px 120px, 100px 100px; }
}


@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
}


.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) and (min-width: 481px) {
    .services {
        padding: 3rem 0;
    }
}

.services::before {
    content: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.about-logo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo-img {
    height: auto;
    max-height: 150px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(30, 64, 175, 0.2));
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.about-logo-img:hover {
    transform: scale(1.05);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    border: 1px solid rgba(30, 64, 175, 0.1);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.05), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(30, 64, 175, 0.2));
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.service-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) and (min-width: 481px) {
    .about {
        padding: 3.5rem 0;
    }
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background-image:
        radial-gradient(circle, rgba(30, 64, 175, 0.16) 0%, transparent 72%),
        url('data:image/svg+xml,<svg width="260" height="260" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="aboutMarketing" width="260" height="260" patternUnits="userSpaceOnUse"><g opacity="0.18"><path d="M40 40 L80 30 L80 90 L40 80 Z" fill="rgba(30,64,175,1)"/><rect x="48" y="48" width="8" height="24" fill="rgba(255,255,255,0.9)"/><rect x="62" y="44" width="8" height="32" fill="rgba(56,189,248,1)"/><rect x="76" y="52" width="8" height="20" fill="rgba(59,130,246,1)"/></g><g opacity="0.18"><rect x="150" y="40" width="60" height="40" rx="8" fill="rgba(59,130,246,1)"/><path d="M158 52 h12 l4 6 l6 -12 l8 18 l6 -6 h8" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g><g opacity="0.18"><rect x="60" y="150" width="52" height="36" rx="10" fill="rgba(56,189,248,1)"/><circle cx="78" cy="168" r="4" fill="white"/><circle cx="94" cy="168" r="4" fill="white"/></g><g opacity="0.18"><path d="M170 160 a16 16 0 1 0 0.01 0" fill="rgba(30,64,175,1)"/><path d="M166 150 l4 0 l4 8 l6 -4" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g></pattern></defs><rect width="260" height="260" fill="url(%23aboutMarketing)"/></svg>');
    background-size: auto, 260px 260px;
    background-position: center, top right;
    border-radius: 50%;
    pointer-events: none;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, transparent 72%);
    border-radius: 50%;
    pointer-events: none;
}

.about-wrapper {
    position: relative;
    z-index: 1;
}

.about-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.about-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.15);
    border-color: rgba(30, 64, 175, 0.1);
}

.about-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(30, 64, 175, 0.2));
    transition: transform 0.3s ease;
}

.about-card:hover .about-icon {
    transform: scale(1.1) rotate(5deg);
}

.about-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-card p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.2);
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid rgba(30, 64, 175, 0.08);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.15);
    border-color: rgba(30, 64, 175, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.feature-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.feature strong {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) and (min-width: 481px) {
    .testimonials {
        padding: 3rem 0;
    }
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.14) 0%, transparent 72%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-wrapper {
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 6rem;
    color: rgba(30, 64, 175, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.15);
    border-color: rgba(30, 64, 175, 0.2);
}

.testimonial-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.star {
    color: #fbbf24;
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) and (min-width: 481px) {
    .faq {
        padding: 3.5rem 0;
    }
}

.faq::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, transparent 72%);
    border-radius: 50%;
    pointer-events: none;
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: var(--bg-white);
    border: 2px solid rgba(30, 64, 175, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    border-color: rgba(30, 64, 175, 0.2);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.1);
}

.faq-question {
    padding: 1.75rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(30, 64, 175, 0.03);
}

.faq-question h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.75rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
}

/* Subscribe Section */
.subscribe-section {
    padding: 5rem 0;
    background: var(--bg-light);
    position: relative;
}

@media (max-width: 768px) and (min-width: 481px) {
    .subscribe-section {
        padding: 3rem 0;
    }
}

.subscribe-section .container {
    max-width: 800px;
}

.subscribe-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.3);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.subscribe-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.subscribe-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.subscribe-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.subscribe-card .btn {
    background: white;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.subscribe-card .btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.contact .container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) and (min-width: 481px) {
    .contact {
        padding: 3.5rem 0;
    }
}

.contact::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background-image:
        radial-gradient(circle, rgba(30, 64, 175, 0.22) 0%, transparent 72%),
        url('data:image/svg+xml,<svg width="260" height="260" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="contactMarketing" width="260" height="260" patternUnits="userSpaceOnUse"><g opacity="0.2"><rect x="32" y="40" width="72" height="48" rx="10" fill="rgba(59,130,246,1)"/><path d="M40 48 L68 66 L96 48" fill="none" stroke="white" stroke-width="2"/><circle cx="48" cy="80" r="4" fill="rgba(96,165,250,1)"/><circle cx="64" cy="80" r="4" fill="rgba(96,165,250,1)"/><circle cx="80" cy="80" r="4" fill="rgba(96,165,250,1)"/></g><g opacity="0.2"><rect x="152" y="40" width="60" height="60" rx="14" fill="rgba(37,99,235,1)"/><path d="M168 58 h16 a6 6 0 0 1 0 12 h-8 a6 6 0 0 0 0 12 h18" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><circle cx="176" cy="78" r="3" fill="white"/></g><g opacity="0.18"><rect x="44" y="150" width="56" height="40" rx="20" fill="rgba(56,189,248,1)"/><circle cx="64" cy="170" r="6" fill="white"/><path d="M84 170 h8" stroke="white" stroke-width="2" stroke-linecap="round"/></g><g opacity="0.18"><rect x="150" y="150" width="64" height="40" rx="10" fill="rgba(37,99,235,1)"/><path d="M158 166 h40" stroke="white" stroke-width="2" stroke-linecap="round"/><path d="M158 176 h24" stroke="rgba(191,219,254,1)" stroke-width="2" stroke-linecap="round"/></g></pattern></defs><rect width="260" height="260" fill="url(%23contactMarketing)"/></svg>');
    background-size: auto, 260px 260px;
    background-position: center, top right;
    border-radius: 50%;
    pointer-events: none;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, transparent 72%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    margin-top: 2.5rem;
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.contact-info-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.contact-info-card {
    background: var(--bg-white);
    padding: 2.25rem;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(30, 64, 175, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.contact-info-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

.contact-details h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    display: inline-block;
    max-width: 100%;
    hyphens: auto;
}

.contact-details a:hover {
    color: var(--primary-dark);
}

.contact-social {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(30, 64, 175, 0.1);
}

.contact-social h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-social-links {
    display: flex;
    gap: 1rem;
}

.contact-social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

.contact-social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 2.25rem;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-form-wrapper:hover {
    box-shadow: 0 15px 50px rgba(30, 64, 175, 0.2);
    transform: translateY(-5px);
}

.form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(30, 64, 175, 0.1);
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow-x: hidden;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

/* Subscription Page */
.subscription-page {
    margin-top: 70px;
    padding: 4rem 0 6rem;
    min-height: calc(100vh - 100px);
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.subscription-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.subscription-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: none;
    animation: patternMove 30s linear infinite;
}

.subscription-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.subscription-hero {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.8s ease;
}

.subscription-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(30, 64, 175, 0.2));
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.subscription-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subscription-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.subscription-main-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.subscription-benefits-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(30, 64, 175, 0.1);
    position: sticky;
    top: 100px;
}

.subscription-benefits-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.03), rgba(14, 165, 233, 0.03));
    border-radius: 16px;
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
    border-color: rgba(30, 64, 175, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(30, 64, 175, 0.2));
}

.benefit-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.benefit-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.subscription-form-card {
    background: var(--bg-white);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(30, 64, 175, 0.15);
    border: 2px solid rgba(30, 64, 175, 0.1);
    position: relative;
    overflow: hidden;
}

.subscription-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.subscription-form .form-group {
    margin-bottom: 1.75rem;
}

.subscription-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.subscription-form .optional {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.85rem;
}

.subscription-form input[type="text"],
.subscription-form input[type="email"],
.subscription-form input[type="tel"] {
    width: 100%;
    padding: 1.25rem;
    border: 2px solid rgba(30, 64, 175, 0.15);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.subscription-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(30, 64, 175, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 1rem;
    font-weight: bold;
}

.checkbox-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.btn-large {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-large svg {
    transition: transform 0.3s ease;
}

.btn-large:hover svg {
    transform: translateX(5px);
}

.subscription-success {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(14, 165, 233, 0.05));
    border-radius: 20px;
    border: 2px solid rgba(30, 64, 175, 0.1);
    animation: fadeInUp 0.6s ease;
}

.success-animation {
    margin-bottom: 1.5rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.subscription-success h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.subscription-success p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="footerPattern" width="80" height="80" patternUnits="userSpaceOnUse"><circle cx="40" cy="40" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="20" cy="20" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="60" cy="60" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="80" height="80" fill="url(%23footerPattern)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

/* Footer Social Media Icons */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.footer-social-icon svg {
    transition: transform 0.3s ease;
}

.footer-social-icon:hover svg {
    transform: scale(1.15);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
/* Mobile Desktop View (when desktop site is enabled on mobile) */
@media (max-width: 1024px) and (min-width: 481px) {
    .hero {
        height: auto;
        min-height: 50vh;
        max-height: 600px;
        padding: 2rem 0;
    }

    .services {
        padding: 3.5rem 0;
    }

    .about {
        padding: 4rem 0;
    }

    .testimonials {
        padding: 3rem 0;
    }

    .faq {
        padding: 4rem 0;
    }

    .contact {
        padding: 4rem 0;
    }

    .subscribe-section {
        padding: 3.5rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 1rem;
        border-bottom: 1px solid rgba(30, 64, 175, 0.1);
    }
    
    .social-links {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
        order: 3;
        width: 100%;
    }
    
    .nav-wrapper {
        flex-wrap: wrap;
    }

    .nav-menu.active {
        left: 0;
    }

    .logo-img {
        height: 50px;
        max-width: 250px;
    }
    
    .nav-wrapper {
        min-height: 65px;
        padding: 0.5rem 0;
    }

    .hero {
        height: auto;
        min-height: 60vh;
        max-height: none;
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-card {
        padding: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-wrapper {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-logo-img {
        height: 120px;
        max-width: 320px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-card {
        padding: 2rem;
    }

    .subscription-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .subscription-benefits-card {
        position: relative;
        top: auto;
    }

    .testimonials-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 2rem;
    }
    
    .subscription-hero h1 {
        font-size: 2.5rem;
    }
    
    .subscription-form-card {
        padding: 2.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        /* Keep mobile background clean behind fixed header */
        background: #ffffff;
        background-image: none;
        background-attachment: scroll;
    }

    .navbar {
        background: #ffffff;
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
        border-bottom-color: rgba(148, 163, 184, 0.25);
    }

    .logo-img {
        height: 45px;
        max-width: 220px;
    }
    
    .nav-wrapper {
        min-height: 60px;
        padding: 0.5rem 0;
    }
    
    .hero {
        margin-top: 60px;
    }
    
    .subscription-page {
        margin-top: 60px;
        padding: 3rem 0 4rem;
    }
    
    .subscription-hero h1 {
        font-size: 2rem;
    }
    
    .subscription-subtitle {
        font-size: 1.1rem;
    }
    
    .subscription-icon {
        font-size: 4rem;
    }
    
    .subscription-form-card {
        padding: 2rem;
    }
    
    .subscription-benefits-card {
        padding: 2rem;
    }
    
    .form-header h2 {
        font-size: 1.75rem;
    }

    .hero {
        height: auto;
        min-height: 70vh;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .section-header {
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-icon {
        font-size: 3rem;
    }

    .about {
        padding: 3rem 0;
    }

    .about-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .about-card {
        padding: 2rem 1.5rem;
    }

    .about-card h3 {
        font-size: 1.5rem;
    }

    .about-icon {
        font-size: 2.5rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .testimonials {
        padding: 3rem 0;
    }

    .testimonials-wrapper {
        margin-top: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .faq {
        padding: 3rem 0;
    }

    .faq-container {
        padding: 0 1rem;
    }

    .faq-question {
        padding: 1.5rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .contact {
        padding: 3rem 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .contact-info-section {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .contact-info-card,
    .contact-form-wrapper {
        padding: 1.75rem 1.25rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 16px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .contact-info-card h3,
    .form-header h3 {
        font-size: 1.4rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        width: 100%;
        max-width: 100%;
    }

    .contact-icon {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }

    .contact-details h4 {
        font-size: 1.05rem;
    }

    .contact-details {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contact-details p,
    .form-header p {
        font-size: 0.95rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .subscribe-section {
        padding: 3rem 0;
    }

    .subscribe-card {
        padding: 2.5rem 2rem;
        margin: 0 1rem;
    }

    .subscribe-card h3 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 1rem;
    }

    .about-logo-img {
        height: 100px;
        max-width: 280px;
    }

    .benefit-item {
        padding: 1.25rem;
        gap: 1rem;
    }

    .benefit-icon {
        font-size: 2rem;
    }

    .benefit-text h4 {
        font-size: 1.1rem;
    }

    .benefit-text p {
        font-size: 0.9rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .about-card {
        padding: 1.5rem;
    }
    
    .about-logo-img {
        height: 100px;
        max-width: 280px;
    }

    .about-card h3 {
        font-size: 1.5rem;
    }

    .about-icon {
        font-size: 2.5rem;
    }

    .subscribe-card {
        padding: 2rem 1.5rem;
    }

    .subscribe-card h3 {
        font-size: 1.5rem;
    }

    .subscription-benefits-card h3 {
        font-size: 1.75rem;
    }

    .subscription-success h3 {
        font-size: 1.75rem;
    }

    .success-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Touch-friendly buttons */
    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }

    /* Better form inputs on mobile - prevents zoom on iOS */
    input, textarea, select {
        font-size: 16px !important;
    }

    /* Improved touch targets */
    .social-icon,
    .contact-social-icon,
    .footer-social-icon {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success and Error Messages */
.success-message,
.error-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.success-icon-small,
.error-icon-small {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.success-icon-small {
    background: #10b981;
    color: white;
}

.error-icon-small {
    background: #ef4444;
    color: white;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Disabled button state */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#contactFormMessages,
#subscriptionFormMessages {
    min-height: 20px;
}

