/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 123, 191, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: 40px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #007bbf;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #007bbf;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #007bbf;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #007bbf 0%, #0056b3 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0" stop-color="%23fff" stop-opacity="0.1"/><stop offset="1" stop-color="%23fff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    z-index: 2;
}

.floating-icons i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-icons i:nth-child(2) {
    animation-delay: -2s;
}

.floating-icons i:nth-child(3) {
    animation-delay: -4s;
}

.floating-icons i:nth-child(4) {
    animation-delay: -1s;
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #007bbf;
    text-align: center;
    margin-bottom: 30px;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* About Company Section */
.about-company {
    background: #f8f9fa;
}

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

.stat-item {
    text-align: center;
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

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

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
}

/* Trusted Brands Section */
.trusted-brands {
    background: white;
}

.brands-showcase {
    text-align: center;
    padding: 40px 0;
}

.brands-text {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

/* Connectivity Solutions */
.connectivity-solutions {
    background: #f8f9fa;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.solution-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #007bbf;
}

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

.solution-icon {
    background: linear-gradient(135deg, #007bbf, #0056b3);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.solution-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.solution-card p {
    color: #666;
    line-height: 1.6;
}

/* Our Strengths */
.our-strengths {
    background: white;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.strength-item {
    text-align: center;
    padding: 40px 30px;
}

.strength-icon {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.strength-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.strength-item p {
    color: #666;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #007bbf 0%, #0056b3 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

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

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

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: white;
    color: blue;
    border-color: transparent;
}

.btn-secondary:hover {
    background: white;
    color: blue;
    transform: translate;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #007bbf 0%, #0056b3 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* About Page Styles */
.about-main {
    background: white;
    padding: 80px 0;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.company-stats {
    background: #f8f9fa;
}

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

.core-values {
    background: white;
}

.philosophy-text {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

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

.value-item {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    background: linear-gradient(135deg, #007bbf, #0056b3);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.value-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.value-item p {
    color: #666;
    line-height: 1.7;
}

.benefits-section {
    background: #f8f9fa;
}

.benefits-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.benefits-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.benefits-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #007bbf;
    margin-bottom: 30px;
}

.capabilities-list {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto 40px;
}

.capabilities-list li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 15px;
}

.capabilities-list i {
    color: #007bbf;
    font-size: 1.2rem;
}

/* Solutions Page Styles */
.solution-section {
    padding: 80px 0;
    background: white;
}

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

.solution-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.solution-header .solution-icon {
    background: linear-gradient(135deg, #007bbf, #0056b3);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.solution-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.solution-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-item {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.solution-section.alt-bg .feature-item {
    background: white;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #007bbf;
}

.feature-item i {
    color: #007bbf;
    font-size: 2rem;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

/* Products Page Styles */
.product-category {
    padding: 80px 0;
    background: white;
}

.product-category.alt-bg {
    background: #f8f9fa;
}

.category-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-category.alt-bg .product-card {
    background: white;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #007bbf;
}

.product-icon {
    background: linear-gradient(135deg, #007bbf, #0056b3);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.product-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    background: linear-gradient(135deg, #007bbf, #0056b3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.contact-text p {
    color: #666;
    font-size: 1rem;
}

.social-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-form-container {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bbf;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input {
    width: auto;
    margin: 0;
}

.submit-btn {
    background: linear-gradient(135deg, #007bbf, #0056b3);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004494);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 191, 0.3);
}

.quick-contact {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.quick-contact h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.quick-contact p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.quick-contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-contact-buttons .btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #007bbf;
}

.footer-section p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section i {
    color: #007bbf;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    background: #007bbf;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ff6b35;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 10px 0;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .stats-grid,
    .stats-grid-large {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .solutions-grid,
    .strengths-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .solution-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .cta-buttons,
    .quick-contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .floating-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .floating-icons i {
        font-size: 2.5rem;
        padding: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .solution-content h2,
    .category-title {
        font-size: 1.8rem;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-form-container {
        padding: 20px 15px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.solution-card,
.product-card,
.value-item,
.strength-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Loading state for forms */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.loading .btn-text {
    opacity: 0.7;
}

/* Success message styling */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #c3e6cb;
}

/* Form validation states */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #28a745;
}
c/* =======================================
   FINAL ADVANCED FOOTER STYLES
   ======================================= */

/* Define colors at the top for easy customization */
:root {
    --brand-primary: #007bbf;    /* Your main brand blue */
    --brand-secondary: #ff6b35;  /* Your accent orange */
    --footer-bg: #111827;        /* A very dark blue-gray */
    --footer-card-bg: #1f2937;   /* Background for the newsletter */
    --footer-text: #9ca3af;      /* A soft, light gray for text */
    --footer-heading: #ffffff;    /* White for headings */
    --footer-border: #374151;    /* A subtle border color */
}

.site-footer.advanced {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 0 20px 0;
    font-family: 'Inter', sans-serif;
    border-top: 4px solid var(--brand-primary);
}

/* --- Newsletter Section --- */
.footer-cta {
    background-color: var(--footer-card-bg);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: -140px auto 60px auto; /* Pulls the CTA up over the top edge */
    max-width: 1100px;
    position: relative; /* Sits on top of the main footer */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-content h2 {
    color: var(--footer-heading);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.cta-content p {
    margin: 0;
    max-width: 400px;
    color: var(--footer-text);
}

.newsletter-form {
    display: flex;
    min-width: 350px;
    flex-grow: 1;
    max-width: 450px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--footer-border);
    border-radius: 6px 0 0 6px;
    background-color: var(--footer-bg);
    color: var(--footer-heading);
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--brand-primary);
}

.newsletter-form button {
    padding: 12px 20px;
    border: none;
    background-color: var(--brand-primary);
    color: var(--footer-heading);
    font-weight: 600;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}


/* --- Main Footer Grid --- */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--footer-heading);
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.footer-logo img { height: 35px; }
.footer-logo .brand-name { font-size: 24px; font-weight: 700; color: var(--footer-heading); }
.footer-tagline { font-size: 15px; line-height: 1.6; }

.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--footer-text); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--brand-primary); }

.footer-social-links { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background-color: #2d3748;
    color: var(--footer-heading);
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.footer-social-links a:hover { background-color: var(--brand-primary); transform: translateY(-3px); }

.footer-contact p { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-contact i { color: var(--brand-primary); font-size: 16px; width: 20px; text-align: center; }

/* --- Footer Bottom Bar --- */
.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
}

.footer-bottom-links a { color: var(--footer-text); text-decoration: none; margin-left: 20px; }
.footer-bottom-links a:hover { color: var(--brand-primary); }


/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .footer-cta {
        margin-top: -120px; /* Adjust pull-up on smaller screens */
    }
}
@media (max-width: 768px) {
    .footer-cta {
        flex-direction: column;
        text-align: center;
        margin-top: 0;
        margin-bottom: 40px;
    }
    .newsletter-form {
        min-width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
    }
}