
:root {
    --primary-color: #5271ff;
    --secondary-color: #4CAF50;
    --accent-color: #FF4081;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --gradient-primary: linear-gradient(45deg, #0097FB, #00E5FF);
    --gradient-secondary: linear-gradient(45deg, #4CAF50, #8BC34A);
    
    /* Spacing and Layout */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Border radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Focus Visible */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Smooth Image Loading */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Header */
/* Modern Header Design */
header {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: none;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #667eea 10%,
        #764ba2 30%,
        #f093fb 50%,
        #764ba2 70%,
        #667eea 90%,
        transparent 100%);
    background-size: 200% 100%;
    animation: dataFlow 4s linear infinite;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 8px,
        rgba(102, 126, 234, 0.3) 8px,
        rgba(102, 126, 234, 0.3) 10px
    );
    animation: dataFlowDots 2s linear infinite;
}

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

@keyframes dataFlowDots {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(18px);
    }
}

header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

header.hidden {
    transform: translateY(-100%);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-tagline {
    font-size: 0.65rem;
    font-weight: 400;
    color: #999;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo:hover .logo-tagline {
    opacity: 1;
    color: #667eea;
}

.logo::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 2px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.logo:hover::before {
    opacity: 1;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.nav-links a.active {
    color: #667eea;
    font-weight: 600;
}

.nav-links a.active::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
}

.contact-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.contact-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;
}

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

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.contact-btn::after {
    display: none;
}

.contact-btn.active {
    color: white !important;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.hamburger-menu:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.hamburger-menu i {
    font-size: 1.2rem;
}

/* Hero Section - Modern Design */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 5% 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
}

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

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="rgba(255,255,255,0.05)"/><path d="M10 10h80v80H10z" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') repeat;
    opacity: 0.4;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 2px solid rgba(255,255,255,0.3);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-title-main {
    display: block;
    margin-bottom: 0.3rem;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-features-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.hero-feature-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    text-align: left;
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero-feature-item:nth-child(1) { animation-delay: 0.8s; }
.hero-feature-item:nth-child(2) { animation-delay: 1s; }
.hero-feature-item:nth-child(3) { animation-delay: 1.2s; }
.hero-feature-item:nth-child(4) { animation-delay: 1.4s; }

.hero-feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
}

.hero-feature-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.hero-feature-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 1.6s backwards;
}

.btn-hero-primary {
    background: white;
    color: #667eea;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
    background: #f8f9fa;
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.5);
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    animation: fadeInUp 0.8s ease-out 1.8s backwards, bounce 2s infinite 2s;
    cursor: pointer;
}

.hero-scroll-indicator span {
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-scroll-indicator i {
    font-size: 1.5rem;
    animation: bounceVertical 2s infinite;
}

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

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

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 5% 3rem;
        min-height: auto;
    }
    
    .hero-features-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-feature-item {
        text-align: center;
    }
    
    .hero-feature-icon {
        margin: 0 auto 1rem;
    }
}

/* Old hero styles removed - using modern-hero now */

/* Sections */
section {
    padding: 5rem 5%;
}

.alt-section-bg {
    background: #f8f9fa;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: -1rem auto 3rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-secondary {
    background-color: #5271ff;
    color: white;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #3d5ce8;
    transform: translateY(-2px);
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-card {
    padding: 2rem;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.modern-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s ease;
    border-top: 4px solid transparent;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-top-color: #667eea;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modern-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.modern-card p {
    color: #666;
    line-height: 1.7;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.modern-service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.modern-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modern-service-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
}

.modern-service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.card-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.card-link:hover {
    gap: 1rem;
    color: #764ba2;
}

.card-link i {
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

.service-card {
    padding: 2rem;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-card {
    padding: 2rem;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Products Hero Section */
.products-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8rem 5% 6rem 5%;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.3;
}

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

.products-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease-out;
}

.products-hero .hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.7;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Products Grid Section */
.products-grid-section {
    padding: 5rem 5%;
    background: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.product-card-header {
    position: relative;
    overflow: hidden;
}

.product-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.product-card-body {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-body h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: left;
}

.product-tagline {
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.product-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.highlight-item i {
    color: #28a745;
    font-size: 1rem;
}

.product-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
}

.product-card-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.product-card-actions .btn-primary,
.product-card-actions .btn-secondary {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Coming Soon Card */
.coming-soon-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
}

.coming-soon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    min-height: 500px;
}

.coming-soon-content i {
    font-size: 4rem;
    color: #adb5bd;
    margin-bottom: 1.5rem;
}

.coming-soon-content h3 {
    font-size: 1.8rem;
    color: #495057;
    margin-bottom: 1rem;
}

.coming-soon-content p {
    font-size: 1rem;
    color: #6c757d;
    max-width: 300px;
    margin-bottom: 2rem;
}

.btn-outline {
    padding: 0.8rem 2rem;
    border: 2px solid #667eea;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

/* Old Product Styles - Keep for backwards compatibility */
.product-highlight {
    text-align: center;
    padding: 3rem;
    background: var(--light-color);
    border-radius: 10px;
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* Footer */
/* Modern Footer Design */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 4rem 5% 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.footer-section {
    position: relative;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.footer-about .logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'JetBrains Mono', monospace;
}

.footer-about .logo .tech-white {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a,
.footer-services ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links ul li a::before,
.footer-services ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #667eea;
}

.footer-links ul li a:hover::before,
.footer-services ul li a:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: white;
    transform: translateX(5px);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-contact p:last-of-type {
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icons a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.bottom-links a:hover {
    color: white;
}

.bottom-links a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Improved Button Styles */
.btn {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-align: center;
    min-width: 44px;
    min-height: 44px;
    transition: all var(--transition-normal);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Card Hover Effects */
.service-card,
.about-card,
.product-highlight,
.blog-post {
    transition: all var(--transition-normal);
}

.service-card:hover,
.about-card:hover,
.product-highlight:hover,
.blog-post:hover {
    transform: translateY(-5px);
}

/* Better Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
}

/* Responsive Font Sizes */
@media (min-width: 320px) {
    html {
        font-size: clamp(14px, 2.5vw, 16px);
    }
    
    h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    h2 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    
    h3 {
        font-size: clamp(1.4rem, 3vw, 1.8rem);
    }
}

/* Improved Grid Layouts */
.service-grid,
.about-grid,
.product-features {
    display: grid;
    gap: clamp(1rem, 3vw, 2rem);
}

/* Better Spacing */
section {
    padding: clamp(3rem, 8vw, 5rem) 5%;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        gap: 0.3rem;
    }
    
    .nav-links a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 5%;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 0;
        border-top: 1px solid rgba(102, 126, 234, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        padding: 1rem 2rem;
        border-radius: 0;
        display: block;
        width: 100%;
    }
    
    .nav-links a::before {
        border-radius: 0;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    body {
        font-size: 0.95rem;
    }
    
    /* Hamburger Menu Styles */
    .hamburger-menu {
        display: none;
        cursor: pointer;
        z-index: 1001;
    }
    
    .hamburger-menu i {
        font-size: 1.5rem;
        color: var(--dark-color);
    }
    
    @media (max-width: 768px) {
        nav ul {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: white;
            flex-direction: column;
            align-items: center;
            padding: 1rem 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        nav ul li {
            margin: 0.5rem 0;
        }

        .nav-links.active {
            display: flex;
        }
    }

    .hamburger-menu {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger-menu i {
        font-size: 1.5rem;
        color: var(--dark-color);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}


/* Products Page */
.products-page {
    padding-top: 100px;
}

.product-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Blog Page */
.blog-page {
    padding-top: 0; /* Remove top padding, page-title-section handles spacing */
}

.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.blog-post {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.blog-post:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.blog-post h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.blog-post .read-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-post .read-more:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,151,251,0.3);
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Specific Styles for QueryFlow AI Product Page */
.product-detail.queryflow-ai {
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    transition: all 0.5s ease; /* Add transition for smoother effects */
}

.product-detail.queryflow-ai:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); /* More prominent shadow on hover */
}

.product-detail.queryflow-ai h2 {
    color: var(--primary-color);
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    position: relative; /* Needed for underline effect */
    padding-bottom: 10px; /* Space for underline */
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 2rem; /* Space below the video */
    border-radius: 10px; /* Rounded corners for the video container */
    box-shadow: 0 5px 15px rgba(0,0,0,0.15); /* Subtle shadow */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.product-detail.queryflow-ai h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px; /* Underline width */
    height: 4px;
    background-color: var(--secondary-color); /* Underline color */
    transition: width 0.3s ease;
}

.product-detail.queryflow-ai h2:hover::after {
    width: 150px; /* Expand underline on hover */
}

.product-detail.queryflow-ai h3 {
    color: var(--dark-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}


.product-image {
    width: 100%;
    max-width: 800px; /* Adjust as needed */
    height: auto;
    display: block;
    margin: 0 auto 2rem auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.product-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    text-align: center;
    font-style: italic;
}

.product-features .feature {
    background: var(--light-color);
    border-left: 5px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-features .feature {
    background: var(--light-color);
    border-left: 5px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* Slightly less rounded corners */
    overflow: hidden; /* Hide overflow for before pseudo-element */
    position: relative; /* Needed for before pseudo-element */
}

.product-features .feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary); /* Use secondary gradient */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.product-features .feature:hover {
    transform: translateY(-8px); /* More pronounced lift */
    box-shadow: 0 12px 25px rgba(0,0,0,0.2); /* Stronger shadow */
}

.product-features .feature:hover::before {
    transform: scaleX(1); /* Expand underline on hover */
}


.product-features .feature h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-features .feature h4 i {
    margin-right: 0.75rem; /* Add space between icon and text */
    color: var(--secondary-color); /* Ensure icon color matches */
}


.product-detail.queryflow-ai ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0; /* Remove default padding */
    margin-top: 2.5rem; /* More space above the list */
    border-top: 2px solid var(--primary-color); /* Add a top border */
    padding-top: 2rem; /* Space below the border */
}

.product-detail.queryflow-ai ul li {
    background-color: #ffffff; /* White background */
    margin-bottom: 1rem; /* More space between items */
    padding: 1.2rem 2rem; /* Increased padding */
    border-radius: 10px; /* Slightly more rounded corners */
    border: 1px solid var(--light-color); /* Lighter border */
    transition: all 0.3s ease; /* Add transition for hover effects */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* Subtle shadow */
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Vertically align items */
}

.product-detail.queryflow-ai ul li:hover {
    background-color: var(--light-color); /* Light background on hover */
    transform: translateX(10px); /* Slide effect on hover */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* More prominent shadow on hover */
}


.product-detail.queryflow-ai ul li strong {
    color: var(--primary-color);
    margin-right: 1rem; /* More space after strong text */
    font-weight: 700; /* Make strong text bolder */
    min-width: 120px; /* Give strong text a minimum width for alignment */
}

.product-cta {
    margin-top: 3rem;
    text-align: center;
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
    color: white;
}

.product-cta p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary); /* Use primary gradient */
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.4s ease; /* Slower transition */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none; /* Remove border */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary); /* Secondary gradient for hover */
    z-index: -1;
    transition: transform 0.5s ease;
    transform: translateX(-100%);
}

.cta-button:hover {
    color: white; /* Keep text white on hover */
    transform: translateY(-5px); /* More pronounced lift */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4); /* Stronger shadow */
}

.cta-button:hover::before {
    transform: translateX(0); /* Slide in the secondary gradient */
}

/* Styles for Product Highlight Section on Index Page */
.products { /* Targeting the section itself */
    background-color: var(--light-color); /* Light background for the section */
}

.product-highlight {
    text-align: center;
    padding: 3rem;
    background: white; /* White background for the highlight box */
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); /* Softer shadow */
    max-width: 800px; /* Limit width */
    margin: 2rem auto 0 auto; /* Center the box and add top margin */
    border: 1px solid #eee;
}

.product-highlight-image {
    max-width: 250px; /* Control image size */
    height: auto;
    margin-bottom: 1.5rem; /* Space below image */
    border-radius: 10px; /* Rounded corners for image */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Subtle shadow for image */
}

.product-highlight h3 {
    color: var(--primary-color); /* Use primary color for heading */
    margin-bottom: 1rem;
    font-size: 2rem; /* Larger heading */
}

.product-highlight p {
    color: #555; /* Darker grey text */
    margin-bottom: 1.5rem;
    line-height: 1.7; /* Improve readability */
}

.product-highlight .learn-more {
    display: inline-block;
    padding: 0.8rem 2rem; /* Slightly larger button */
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px; /* Pill shape */
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 151, 251, 0.2);
}

.product-highlight .learn-more:hover {
    background: #007acc;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 151, 251, 0.3);
}

/* Modern Product Highlight */
.product-highlight-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.product-badge-modern {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-highlight-content h3 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: left;
}

.product-tagline-modern {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-description-modern {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-features-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.feature-badge {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #555;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.feature-badge i {
    color: #28a745;
}

.product-actions-modern {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-highlight-image-modern {
    position: relative;
}

.product-highlight-image-modern img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.product-highlight-modern:hover .product-highlight-image-modern img {
    transform: scale(1.05);
}

@media (max-width: 968px) {
    .product-highlight-modern {
        grid-template-columns: 1fr;
    }
    
    .product-highlight-image-modern {
        order: -1;
    }
}

/* General Page Styling */
.page-content {
    padding-top: 0; /* Remove top padding since page-title-section handles spacing */
    padding-bottom: 2rem; /* Reduced bottom padding */
    min-height: auto; /* Remove fixed min-height to prevent gaps */
}

.page-title-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: calc(120px + 2rem) 5% 4rem 5%; /* Header height + top padding, then bottom padding */
    text-align: center;
    margin-bottom: 2rem; /* Reduced margin */
    position: relative;
    overflow: hidden;
}

.page-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-title-section h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
    font-weight: 800;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.page-title-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default on larger screens */
    cursor: pointer;
}

.hamburger-menu i {
    font-size: 1.8rem;
    color: var(--dark-color);
}

/* Navigation Links Active State */
nav ul li a.active {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Ensure contact button text is white even when active */
nav ul li a.contact-btn.active {
    color: white;
}


/* Hero Section Button */
.hero-btn {
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #007acc; /* Darker shade of primary */
    transform: translateY(-2px);
}

.hero-subtext {
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 0.9;
}


/* Footer Quick Links */
.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.footer-section p i, .footer-section ul li a i {
    margin-right: 8px;
}


/* About Page */
.about-page #about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    margin-top: 0; /* Remove top margin to eliminate gap */
}

.about-page .page-content {
    padding-bottom: 0; /* Remove bottom padding, let sections handle their own spacing */
}

.about-page .about-values-section {
    margin-bottom: 0; /* Remove bottom margin from last section */
    padding-bottom: 4rem; /* Add padding at bottom instead */
}
.about-extra-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
}
.about-extra-info p {
    margin-bottom: 1rem;
    line-height: 1.7;
}
.about-extra-info p:last-child {
    margin-bottom: 0;
}

/* About Commitment Section - Single Card */
.about-commitment-section {
    margin-top: 4rem;
    padding: 0;
}

.commitment-single-card {
    background: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.commitment-single-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.commitment-single-card:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.commitment-card-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.commitment-card-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.commitment-subtitle {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 600;
    margin: 0;
}

.commitment-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.commitment-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.commitment-item:hover {
    background: white;
    border-left-color: #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
    transform: translateX(10px);
}

.commitment-item-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.commitment-item:hover .commitment-item-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.commitment-item-content {
    flex: 1;
}

.commitment-item-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.commitment-item-content p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .commitment-single-card {
        padding: 2.5rem 1.5rem;
    }
    
    .commitment-card-header h2 {
        font-size: 2rem;
    }
    
    .commitment-subtitle {
        font-size: 1rem;
    }
    
    .commitment-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .commitment-item-icon {
        margin: 0 auto;
    }
    
    .commitment-item:hover {
        transform: translateY(-5px);
    }
}

/* About Values Section */
.about-values-section {
    padding: 5rem 5%;
}

.about-values-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-values-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: left;
}

.values-intro {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-text h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.value-text p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.about-values-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.about-values-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.about-values-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 968px) {
    .about-values-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-values-content h2 {
        text-align: center;
    }
    
    .about-values-image {
        order: -1;
    }
}

/* Collaboration Page */
.collaboration-page #collaboration-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}
.collaboration-page h2 {
    text-align: left;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 0.5rem;
}
/* Collaboration Process Modern Design */
.collaboration-process-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.collaboration-process-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.process-subtitle {
    font-size: 1.3rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
}

.process-intro {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.collaboration-steps-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.step-card-modern {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.4s ease;
    border-top: 5px solid transparent;
    overflow: hidden;
}

.step-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.step-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-top-color: #667eea;
}

.step-card-modern:hover::before {
    transform: scaleX(1);
}

.step-number-modern {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    z-index: 2;
}

.step-icon-modern {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.4s ease;
}

.step-card-modern:hover .step-icon-modern {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.step-content-modern {
    margin-top: 1rem;
}

.step-content-modern h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-content-modern p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Collaboration Advantage Modern */
.collaboration-advantage-modern {
    background: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-modern-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.advantage-modern-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.advantage-modern-header p {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 600;
    margin: 0;
}

.advantage-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.advantage-item-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.advantage-icon-card {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.advantage-item-card:hover .advantage-icon-card {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.advantage-item-card h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.advantage-item-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .collaboration-steps-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .collaboration-process-header h2 {
        font-size: 2rem;
    }
    
    .process-subtitle {
        font-size: 1.1rem;
    }
    
    .advantage-items-grid {
        grid-template-columns: 1fr;
    }
    
    .collaboration-advantage-modern {
        padding: 3rem 2rem;
    }
}
.collaboration-advantage {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
}
.collaboration-advantage ul {
    list-style: none;
    padding-left: 0;
}
.collaboration-advantage ul li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}
.collaboration-advantage ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

/* Collaboration Advantage Section */
.collaboration-advantage-section {
    padding: 5rem 5%;
}

.collaboration-advantage-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.collaboration-advantage-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: left;
}

.advantage-intro {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.advantage-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.advantage-item-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.advantage-item-modern:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.advantage-item-modern i {
    color: #28a745;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.collaboration-advantage-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.collaboration-advantage-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.collaboration-advantage-image:hover img {
    transform: scale(1.05);
}

/* Collaboration CTA Section */
.collaboration-cta-section {
    padding: 5rem 5%;
    text-align: center;
}

.collaboration-cta-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 3rem;
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.collaboration-cta-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.collaboration-cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.collaboration-cta-text {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.collaboration-cta-container .btn-primary-gradient {
    background: white;
    color: #667eea;
}

.collaboration-cta-container .btn-primary-gradient:hover {
    background: #f8f9fa;
}

@media (max-width: 968px) {
    .collaboration-advantage-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .collaboration-advantage-content h2 {
        text-align: center;
    }
    
    .collaboration-advantage-image {
        order: -1;
    }
    
    .collaboration-cta-container {
        padding: 3rem 2rem;
    }
    
    .collaboration-cta-container h2 {
        font-size: 2rem;
    }
}


/* Services Page */
.services-page #services-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}
.services-page h2 { /* Shared h2 styling for sections within services */
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-top: 3rem;
    margin-bottom: 2.5rem;
}
.service-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.service-card-detailed {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card-detailed:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.service-card-detailed h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.audit-support-section, .process-optimization-section, .cost-reduction-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 10px;
}

.audit-support-grid, .cost-reduction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.audit-support-card, .cost-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    text-align: center;
}
.audit-support-card i, .cost-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}
.audit-support-card h4, .cost-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.process-step {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}
.process-step span {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
    margin-right: 1rem;
}

/* Services Next Step Section */
.services-next-step-section {
    padding: 5rem 5%;
    text-align: center;
}

.services-next-step-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.services-next-step-container h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.next-step-intro {
    font-size: 1.3rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.next-step-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .services-next-step-container {
        padding: 3rem 2rem;
    }
    
    .services-next-step-container h2 {
        font-size: 2rem;
    }
    
    .next-step-intro {
        font-size: 1.1rem;
    }
    
    .next-step-description {
        font-size: 1rem;
    }
}

/* Contact Page */
.contact-page #contact-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    
}
.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.contact-form-container iframe {
    width: 100%;
    min-height: 1100px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.contact-form-container h2, .contact-info-container h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.submit-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.submit-btn:hover {
    background-color: #5271ff; /* Darker green */
}
#form-status {
    margin-top: 1rem;
    font-weight: 500;
}
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 25px;
    text-align: center;
}

/* Blog Page - Full Post */
.blog-page .blog-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    margin-top: 0; /* Remove top margin to eliminate gap */
}

.blog-page {
    padding-bottom: 0; /* Remove bottom padding */
}

.blog-page .blog-content {
    padding-bottom: 2rem; /* Add bottom padding to last section */
}

/* Blog Accordion Styles */
.blog-post-accordion {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-post-accordion:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.blog-post-header {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.blog-post-header:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, #f8f9fa 100%);
}

.blog-post-accordion.active .blog-post-header {
    border-bottom-color: #667eea;
    background: white;
}

.blog-post-title-section {
    flex: 1;
}

.blog-post-title-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #666;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta i {
    color: #667eea;
}

.blog-post-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.blog-post-accordion.active .blog-post-toggle {
    transform: rotate(180deg);
}

.blog-post-toggle i {
    font-size: 1.2rem;
}

.blog-post-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 2rem;
}

.blog-post-accordion.active .blog-post-content {
    max-height: 5000px;
    padding: 2rem;
}

.blog-post-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1rem;
}

.blog-post-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.blog-post-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-content ul li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    color: #555;
}

.blog-post-content ul li strong {
    color: #333;
}

.blog-post-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.blog-post-content a:hover {
    text-decoration: underline;
}

.blog-post-footer {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

@media (max-width: 768px) {
    .blog-post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .blog-post-title-section h2 {
        font-size: 1.5rem;
    }
    
    .blog-post-content {
        padding: 0 1.5rem;
    }
    
    .blog-post-accordion.active .blog-post-content {
        padding: 1.5rem;
    }
}


/* Responsive Design Adjustments */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr; /* Stack form and info on smaller screens */
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    nav ul.nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--shadow-md);
        padding-bottom: 1rem;
        z-index: 999;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-stats {
        grid-template-columns: 1fr;
    }
    
    .product-card-actions {
        flex-direction: column;
    }

    nav ul.nav-links.active { /* Class to show the menu */
        display: flex;
    }

    nav ul.nav-links li {
        text-align: center;
        margin: 1rem 0;
    }

    nav ul.nav-links li a.contact-btn {
        display: block;
        margin: 0.5rem auto;
        width: fit-content;
    }
    
    nav ul li a.active::after { /* Adjust active link indicator for mobile */
        bottom: -2px; 
        height: 2px;
    }

    .hamburger-menu {
        display: block; /* Show hamburger icon */
    }

    .hero h1 {
        font-size: 2.5rem; /* Adjusted from previous 2rem */
    }
    .hero p {
        font-size: 1.2rem;
    }
    .page-title-section h1 {
        font-size: 2.2rem;
    }
    .page-title-section p {
        font-size: 1rem;
    }
    .service-grid-detailed, .audit-support-grid, .process-steps-grid, .cost-reduction-grid, .collaboration-steps {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
}

@media (max-width: 600px) {
    .contact-container {
        padding: 1.8rem;
    }
    .contact-form-container iframe {
        min-height: 950px;
    }
}

/* Policy Page Styles */
.policy-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
}

.policy-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 3rem;
    margin-bottom: 3rem;
}

.back-button-container {
    margin-bottom: 2rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.back-button:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section:last-of-type {
    margin-bottom: 2rem;
}

.policy-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #f0f0f0;
}

.policy-section h2 i {
    color: #667eea;
    font-size: 1.5rem;
}

.policy-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.policy-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.policy-section ul li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    color: #555;
}

.cookie-type-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.cookie-type-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cookie-type-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-type-header i {
    font-size: 2rem;
    color: #667eea;
}

.cookie-type-header h3 {
    font-size: 1.4rem;
    color: #333;
    margin: 0;
}

.cookie-type-card p {
    margin-bottom: 1rem;
}

.cookie-type-card ul {
    margin-top: 1rem;
}

.info-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-box i {
    color: #667eea;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.info-box p {
    margin: 0;
    color: #333;
}

.browser-list {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    list-style: none;
    padding-left: 1.5rem;
}

.browser-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.browser-list li:last-child {
    border-bottom: none;
}

.contact-info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 1.5rem;
    border: 2px solid #f0f0f0;
}

.contact-info-box p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
}

.contact-info-box p:last-child {
    margin-bottom: 0;
}

.contact-info-box i {
    color: #667eea;
    font-size: 1.2rem;
    width: 25px;
}

.policy-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
    flex-wrap: wrap;
}

.btn-outline-primary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
    .policy-container {
        padding: 2rem 1.5rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-actions {
        flex-direction: column;
    }
    
    .policy-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
