/* Base styles */
:root {
    --primary-color: #BE0503;
    --primary-dark: #9c0402;
    --primary-light: #e41e1a;
    --secondary-color: #062B4E;
    --secondary-dark: #041e36;
    --secondary-light: #0a3d6a;
    --white: #fff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Helvena', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    font-family: 'Helvena', sans-serif;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
}

.logo-image {
    max-height: 100px;
    width: auto;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 8px 5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    left: 0;
    bottom: -5px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    transform: scaleX(1);
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: url('https://images.unsplash.com/photo-1532094349884-543bc11b234d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
    background-size: cover;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-align: left;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 43, 78, 0.85);
}

.hero-content {
    max-width: 700px;
    margin-left: 10%;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* About Us Section */
.about-us {
    padding: 0;
    margin: 0;
    background-color: #ffffff;
    margin-bottom: -1px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.about-us .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.about-content {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.about-image {
    flex: 1;
    line-height: 0;
    display: flex;
    overflow: hidden;
    min-height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

.about-text {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
    line-height: 1.2;
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        height: 300px;
    }
    
    .about-text {
        width: 100%;
        padding: 40px 20px;
    }
}

.about-card h2 {
    color: var(--secondary-color);
}

.about-card p {
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 100px 0;
}

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

.section-header h2 {
    color: var(--secondary-color);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Legacy styles kept for compatibility */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-category {
    margin-bottom: 40px;
    text-align: left;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    position: relative;
}

.service-category h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 10px 0;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
    margin-bottom: 5px;
    font-size: 1rem;
}

.read-more-btn {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-right: 20px;
    transition: all 0.3s ease;
}

.read-more-btn:after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    color: var(--primary-dark);
}

.read-more-btn:hover:after {
    transform: translate(5px, -50%);
}

.service-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.feature-link span {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.feature-link:hover {
    color: var(--primary-dark);
}

.feature-link:hover span {
    transform: translateX(4px);
}

/* Bullet list for service cards */
.bullet-list {
    list-style: disc;
    padding-left: 20px;
    margin: 10px 0 0 0;
}

.bullet-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.services-actions {
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Stats Section */
.stats-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-card {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Platform Section */
.platform-section {
    padding: 0;
    background-color: #f5f5f5;
    margin-bottom: -1px; /* Removes gap between section and blue section below */
}

/* Make AdCEV section span full width without inner container gutters */
.platform-section .container {
    max-width: 100%;
    padding: 0;
}

.platform-content {
    display: flex;
    align-items: stretch; /* Makes both columns the same height */
    gap: 0;
    max-width: 100%;
    margin: 0;
}

.platform-text {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.platform-text h2 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.platform-features {
    margin: 30px 0;
}

.platform-features li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.platform-features li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 0.8;
}

/* AdCEV Section - New Styling */
.adcev-section {
    padding: 0;
    background-color: #FFFFFF;
}

.adcev-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.adcev-text {
    flex: 1;
    padding: 80px 60px;
    width: 50%;
}

.adcev-text h2 {
    color: #002147;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.adcev-text p {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333333;
}

.adcev-features {
    margin: 0 0 40px;
    padding-left: 20px;
    list-style: none;
}

.adcev-features li {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
}

.adcev-features li:before {
    content: "•";
    color: #E63946;
    position: absolute;
    left: -15px;
    font-size: 16px;
}

.adcev-image-container {
    flex: 1;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.adcev-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-outline-red {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid #E63946;
    color: #E63946;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 24px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.btn-outline-red:hover {
    background-color: #E63946;
    color: white;
}


.platform-image {
    flex: 1;
    line-height: 0; /* Removes any space below the image */
    display: flex;
    overflow: hidden;
}

.platform-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    display: block; /* Removes any potential spacing */
    vertical-align: middle; /* Helps with alignment */
}

.adcev-image {
    object-fit: cover;
    max-height: 450px;
}

/* Red button style matching the image */
.btn-red {
    background-color: #BE0503;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    width: 250px; /* Match footer button width */
    max-width: 100%;
    box-shadow: var(--shadow);
}

.btn-red:hover {
    background-color: #a00402;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.image-placeholder {
    background-color: var(--medium-gray);
    height: 400px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-weight: 500;
}

/* Removed Testimonial Section */

/* Removed testimonial styles */

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
    margin-top: 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0 40px;
}

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

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-image {
    max-height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    left: 0;
    bottom: -10px;
}

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

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

.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-contact h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    left: 0;
    bottom: -10px;
}

.footer-contact p {
    margin-bottom: 15px;
}

.footer-cta {
    margin-top: 25px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.footer-cta h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-cta p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-cta-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 250px;
    max-width: 100%;
    text-align: center;
}

.footer-cta-btn:hover {
    background-color: #d80503;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    margin-left: 20px;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 80px 30px 30px;
    overflow-y: auto;
    display: block;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    display: block;
}

.mobile-nav ul li {
    margin: 0 0 5px;
}

.mobile-nav ul li a {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 1px solid var(--light-gray);
    text-align: left;
    width: 100%;
}

.mobile-nav ul li a.active {
    color: var(--primary-color);
}

.mobile-nav ul li a.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50px;
    text-align: center;
    margin-top: 10px;
    padding: 12px 20px;
    border-bottom: none;
    width: 100%;
    display: inline-block;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

body.menu-open {
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .platform-content {
        flex-direction: column;
    }
    
    .hero-content {
        margin-left: 5%;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    nav {
        display: none;
    }
    
    .header-container {
        justify-content: space-between;
    }
    
    .header-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        height: auto;
        padding: 150px 0 80px;
    }
    
    .hero-content {
        margin-left: 0;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        margin-top: 20px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .btn-primary, .btn-secondary, .btn-outline {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .hamburger-menu {
        width: 25px;
        height: 18px;
    }
    
    .hamburger-menu span {
        height: 2px;
    }
    
    .mobile-nav {
        width: 250px;
        padding: 70px 20px 20px;
    }
    
    .logo-image {
        max-height: 80px;
    }
}