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

:root {
    /* Primary palette - updated to match home.css with slight variations */
    --primary: #1a5b8f;         /* Main brand color - deep blue (slightly deeper than home.css) */
    --primary-dark: #0c3049;    /* Darker blue for hover states */
    --primary-light: #2d7ab3;   /* Lighter blue for highlights (slightly more vibrant) */
    
    /* Secondary palette */
    --secondary: #1a2741;       /* Dark blue/slate for headers (deeper) */
    --secondary-light: #293751; /* Lighter slate for cards */
    
    /* Accent colors */
    --accent-blue: #3498db;     /* Accent color for interactive elements */
    --accent-purple: #8b5cf6;   /* Accent for important UI elements */
    --accent-green: #22c55e;    /* Success color for compliance elements */
    --accent-red: #ef4444;      /* Warning color for risk elements */
    
    /* Neutral colors - updated to match home.css */
    --bg-light: #f1f5f9;        /* Light gray/blue for background */
    --bg-white: #ffffff;        /* White */
    --bg-card: #ffffff;         /* Card background */
    --bg-dark: #1a2741;         /* Dark background color */
    --bg-darker: #0f1729;       /* Darkest background color */
    --text-dark: #0f172a;       /* Near black text */
    --text-medium: #334155;     /* Dark gray text */
    --text-light: #64748b;      /* Medium gray text */
    --text-muted: #94a3b8;      /* Light gray text */
    --border-light: #cbd5e1;    /* Light border color */
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Gradients - updated to match home.css */
    --gradient-blue: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-enterprise: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    
    /* Animation */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* For Safari/iOS smooth inertia scrolling */
}

/* Customize scrollbar to match design */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 6px;
    border: 3px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    opacity: 0.5;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.05) 0%, transparent 70%),
        radial-gradient(circle at 90% 90%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.main-header {
    background-color: rgba(0, 0, 0, 0.03);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header.scrolled {
    background-color: var(--bg-darker);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.6rem;
    transition: var(--transition-normal);
}

.logo i {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -90px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    font-size: 1.4rem;
    transition: var(--transition-normal);
}

.logo:hover {
    color: var(--primary-light);
}

.logo:hover i {
    transform: rotateY(180deg);
    background-color: var(--primary-light);
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;

}

nav ul li a {
    text-decoration: none;
    color: var(--bg-light);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-normal);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: var(--transition-normal);
    border-radius: 1px;
}

nav ul li a:hover {
    color: white;
}

nav ul li a:hover::after {
    width: 100%;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    margin-right: -100px;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Default button styling */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-blue);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: var(--transition-normal);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 5rem;
    background: linear-gradient(to bottom, var(--secondary), var(--primary-dark));
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(45, 122, 179, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    opacity: 0.6;
    z-index: 0;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    animation: fadeIn 1s ease forwards;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--bg-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeIn 1s ease forwards 0.3s;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-blue);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: transparent;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition-normal);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem auto;
    width: 100%;
    animation: fadeInUp 1s ease forwards 0.5s;
    opacity: 0;
}

.feature-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-blue);
    opacity: 0;
    transition: var(--transition-normal);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    background-color: rgba(255, 255, 255, 0.1);
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: var(--transition-normal);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.feature-box:nth-child(1) .feature-icon {
    box-shadow: 0 0 0 rgba(26, 91, 143, 0);
}

.feature-box:nth-child(2) .feature-icon {
    box-shadow: 0 0 0 rgba(34, 197, 94, 0);
}

.feature-box:nth-child(3) .feature-icon {
    box-shadow: 0 0 0 rgba(239, 68, 68, 0);
}

.feature-box:hover:nth-child(1) .feature-icon {
    background-color: rgba(26, 91, 143, 0.2);
    border-color: var(--primary-light);
    box-shadow: 0 0 20px rgba(26, 91, 143, 0.4);
}

.feature-box:hover:nth-child(2) .feature-icon {
    background-color: rgba(34, 197, 94, 0.2);
    border-color: var(--accent-green);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.feature-box:hover:nth-child(3) .feature-icon {
    background-color: rgba(239, 68, 68, 0.2);
    border-color: var(--accent-red);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.feature-icon i {
    font-size: 1.8rem;
    transition: var(--transition-normal);
    color: white;
}

.feature-box:nth-child(1):hover .feature-icon i {
    color: var(--primary-light);
}

.feature-box:nth-child(2):hover .feature-icon i {
    color: var(--accent-green);
}

.feature-box:nth-child(3):hover .feature-icon i {
    color: var(--accent-red);
}

.feature-box h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    transition: var(--transition-normal);
}

.feature-box p {
    color: var(--bg-light);
    font-size: 1rem;
    line-height: 1.6;
    transition: var(--transition-normal);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-blue);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-md);
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease forwards 0.8s;
    opacity: 0;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: var(--transition-normal);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design for Hero */
@media (max-width: 1024px) {
    .feature-boxes {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .feature-box {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-boxes {
        grid-template-columns: 1fr;
        margin: 3rem auto;
    }
    
    .feature-box {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .btn {
        padding: 0.85rem 2rem;
    }
}

/* Mission Section */
.mission-section {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(26, 91, 143, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(26, 91, 143, 0.03) 0%, transparent 25%);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-content h2 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.section-content p {
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.section-content p strong {
    color: var(--primary);
    font-weight: 600;
}

.section-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 5px solid white;
    transition: var(--transition-normal);
}

.section-image:hover img {
    transform: scale(1.02);
}

/* Why GRC Section */
.why-grc {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.why-grc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(26, 91, 143, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(26, 91, 143, 0.03) 0%, transparent 30%);
    z-index: 1;
}

.why-grc h2 {
    position: relative;
    color: var(--primary-dark);
    z-index: 2;
}

.why-grc h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.benefit-card {
    background-color: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-blue);
    opacity: 0;
    transition: var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    color: var(--primary);
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    transition: var(--transition-normal);
}

.benefit-card:hover .benefit-icon {
    transform: translateY(-5px);
    color: var(--primary-light);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: var(--transition-normal);
}

.benefit-card:hover h3 {
    color: var(--primary);
}

.benefit-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Service Section */
.service-section {
    padding: 6rem 0;
    background: var(--gradient-enterprise);
    color: white;
    position: relative;
    overflow: hidden;
}

.service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.service-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 3.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: white;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card.highlight-card {
    background: var(--gradient-blue);
    color: white;
    position: relative;
    overflow: hidden;
}

.service-card.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.service-card.highlight-card h3,
.service-card.highlight-card p {
    color: white;
    position: relative;
    z-index: 2;
}

.service-card.highlight-card h3 i {
    background-color: rgba(255, 255, 255, 0.2);
}

.service-card.highlight-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: white;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: var(--transition-normal);
    position: relative;
    z-index: 2;
}

.service-card.highlight-card .card-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.service-card.highlight-card .card-link i {
    transition: var(--transition-normal);
}

.service-card.highlight-card .card-link:hover i {
    transform: translateX(3px);
}

.service-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.7;
}

/* Footer */
.main-footer {
    background-color: var(--bg-darker);
    color: var(--bg-light);
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-blue);
    border-radius: 1px;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-light);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

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

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

.footer-section ul li a {
    color: var(--bg-light);
    text-decoration: none;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    position: relative;
}

.footer-section ul li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-normal);
    position: absolute;
    left: -20px;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Utility classes and layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.services-section h2,
.hero-section h2 {
    color: white;
}

/* Media queries */
@media (max-width: 1024px) {
    .section-grid {
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        gap: 1.5rem;
    }
    
    .section-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .section-image {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .main-header .container {
        flex-wrap: wrap;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }
    
    nav ul {
        justify-content: center;
        gap: 1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo i {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 2rem;
    }
}

/* Smooth transitions for all interactive elements */
a, button, input, select, textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add scroll-margin-top to ensure anchor links scroll to the right position */
section[id] {
    scroll-margin-top: 80px; /* Accounts for fixed header */
}

/* Make the Learn More button's arrow have a more animated effect */
.btn i.fa-arrow-down {
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Bouncy effect */
}

.btn:hover i.fa-arrow-down {
    transform: translateY(5px);
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(5px);
    }
    60% {
        transform: translateY(3px);
    }
}

/* Smooth section transitions */
section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.animate-section {
    animation: sectionFadeIn 0.8s ease forwards;
}

/* Staggered animations for card elements */
.hero-features .feature-card,
.benefits-grid .benefit-card,
.services-grid .service-card,
.feature-boxes .feature-box {
    opacity: 0;
    transform: translateY(20px);
}

.animate-section .feature-card,
.animate-section .benefit-card,
.animate-section .service-card,
.animate-section .feature-box {
    animation: cardFadeIn 0.6s ease forwards;
}

.animate-section .feature-card:nth-child(1),
.animate-section .benefit-card:nth-child(1),
.animate-section .service-card:nth-child(1),
.animate-section .feature-box:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-section .feature-card:nth-child(2),
.animate-section .benefit-card:nth-child(2),
.animate-section .service-card:nth-child(2),
.animate-section .feature-box:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-section .feature-card:nth-child(3),
.animate-section .benefit-card:nth-child(3),
.animate-section .service-card:nth-child(3),
.animate-section .feature-box:nth-child(3) {
    animation-delay: 0.3s;
}

.animate-section .feature-card:nth-child(4),
.animate-section .benefit-card:nth-child(4),
.animate-section .service-card:nth-child(4),
.animate-section .feature-box:nth-child(4) {
    animation-delay: 0.4s;
}

.animate-section .feature-card:nth-child(5),
.animate-section .benefit-card:nth-child(5),
.animate-section .service-card:nth-child(5),
.animate-section .feature-box:nth-child(5) {
    animation-delay: 0.5s;
}

.animate-section .feature-card:nth-child(6),
.animate-section .benefit-card:nth-child(6),
.animate-section .service-card:nth-child(6),
.animate-section .feature-box:nth-child(6) {
    animation-delay: 0.6s;
}

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

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

@keyframes moveRightPulse {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Services section */
.services-section {
    background: linear-gradient(195deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    background: linear-gradient(195deg, rgba(26, 91, 143, 0.05) 0%, rgba(26, 91, 143, 0.15) 100%);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 70%;
    background: linear-gradient(195deg, rgba(26, 91, 143, 0.05) 0%, rgba(26, 91, 143, 0.1) 100%);
    clip-path: polygon(0 30%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

.services-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Assessment section */
.assessment-section {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.assessment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(26, 91, 143, 0.05) 0%, transparent 15%),
        radial-gradient(circle at 80% 50%, rgba(26, 91, 143, 0.05) 0%, transparent 15%),
        radial-gradient(circle at 40% 80%, rgba(26, 91, 143, 0.05) 0%, transparent 15%);
}

.assessment-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* Process step cards */
.process-step {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-normal);
    border: 1px solid var(--border-light);
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-blue);
    opacity: 0.05;
    transition: height 0.5s ease;
    z-index: -1;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.process-step:hover::before {
    height: 100%;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.25rem;
    transition: var(--transition-normal);
    box-shadow: 0 5px 15px rgba(26, 91, 143, 0.3);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(26, 91, 143, 0.5);
}

.process-step h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.process-step:hover h3 {
    color: var(--primary-dark);
}

.process-step p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .assessment-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid, 
    .assessment-steps {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.cta-section {
    background: var(--gradient-blue);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 25%);
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-section .secondary-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-section .secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}
