/* Global Styles */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --teal: #0f766e;
    --dark-blue: #0f172a;
    --light-blue: #dbeafe;
    --white: #ffffff;
    --gray: #6b7280;
    --sidebar-width: 320px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-blue);
    color: var(--white);
    overflow-x: hidden;
    min-width: 100vw;
}

/* Ensure the main wrapper uses full width */
.container-fluid {
    width: 100%;
    max-width: 100%;
}

/* Sidebar Styles */
.sidebar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--teal) 100%);
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    z-index: 1000;
}

.sidebar-content {
    padding: 2rem 1rem;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Logo Section */
.logo-section {
    margin-bottom: 3rem;
    text-align: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 100px;
    height: px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

/* Navigation */
.sidebar-nav {
    flex: 1;
}

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

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateX(5px);
}

.nav-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Language Switcher */
.language-switcher {
    margin-top: auto;
    text-align: center;
    padding-top: 2rem;
}

.language-switcher .btn {
    margin: 0 0.25rem;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 0;
    width: calc(100% - var(--sidebar-width));
    max-width: none;
    overflow-x: hidden;
}

/* Ensure content sections use full available width */
.main-content > section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Optimize row and column layouts for large screens */
@media (min-width: 1200px) {
    .main-content .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .main-content .col-lg-3,
    .main-content .col-lg-4,
    .main-content .col-lg-6,
    .main-content .col-lg-8,
    .main-content .col-lg-9 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Optimize container usage for large screens */
@media (min-width: 1200px) {
    .main-content .container {
        max-width: 100%;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .main-content .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    /* Ensure sections without containers also use full width */
    .main-content > section:not(:has(.container)) {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Additional optimization for very large screens */
@media (min-width: 1600px) {
    .main-content .container,
    .main-content .container-fluid {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .main-content > section:not(:has(.container)) {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    /* Optimize card layouts for very large screens */
    .system-card,
    .partner-card,
    .team-card,
    .solution-card {
        height: auto;
        min-height: 450px;
    }
}

/* Ultra-wide screen optimization */
@media (min-width: 2000px) {
    .main-content .container,
    .main-content .container-fluid {
        padding-left: 4rem;
        padding-right: 4rem;
    }
    
    .main-content > section:not(:has(.container)) {
        padding-left: 4rem;
        padding-right: 4rem;
    }
    
    /* Increase font sizes for better readability on ultra-wide screens */
    .section-title {
        font-size: 3rem;
    }
    
    .section-subtitle {
        font-size: 1.4rem;
    }
    
    .section-text {
        font-size: 1.2rem;
    }
}

/* Hamburger menu button - hidden by default on desktop */
.navbar-toggler {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    /* height: 60vh; */
    min-height: 500px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    background-image: 
        url('../image/business-handshake.jpg'),
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(15, 118, 110, 0.3) 0%, transparent 50%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--white), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--light-blue);
    line-height: 1.6;
}

.hero-cta {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.hero-cta:hover {
    background: transparent;
    color: var(--white);
    /* transform: translateY(-2px); */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Coverage, Philosophy & Stability Section */
.coverage-philosophy-stability-section {
    padding: 2rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    min-height: 60vh;
    max-width: 100%;
}

/* Unified Image Styles for Coverage, Philosophy & Stability Section */
.coverage-image,
.philosophy-image,
.stability-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 280px; /* Further reduced height for less whitespace */
    margin: 0.5rem 0;
}

.coverage-image img,
.philosophy-image img,
.stability-image img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.coverage-image img:hover,
.philosophy-image img:hover,
.stability-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

    .coverage-content {
        padding: 1.5rem;
    }

.coverage-content .section-title {
    color: var(--white);
}

.coverage-content .section-text {
    color: var(--light-blue);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        position: fixed;
        z-index: 1001;
        pointer-events: none;
    }
    
    .sidebar.show {
        transform: translateX(0);
        pointer-events: auto;
    }
    

    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    /* Add hamburger menu button */
    .navbar-toggler {
        display: block;
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 1002;
        background: var(--primary-blue);
        border: none;
        border-radius: 5px;
        padding: 0.5rem;
        color: var(--white);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .navbar-toggler:hover {
        background: var(--secondary-blue);
        transform: scale(1.05);
    }
    
    /* Add overlay when sidebar is open */
    .sidebar.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1000;
        pointer-events: none;
    }
    
    /* Adjust sidebar width for mobile */
    .sidebar {
        width: 280px;
    }
    
    /* Adjust nav links for mobile */
    .nav-link {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .coverage-philosophy-stability-section .section-title {
        font-size: 2rem;
    }
    
    /* Tablet layout: images on top, content below */
    .coverage-philosophy-stability-section .row,
    .system-section .row {
        flex-direction: column;
    }
    
    /* Ensure image columns come first on mobile/tablet */
    .coverage-philosophy-stability-section .col-lg-6:first-child,
    .system-section .col-lg-6:first-child {
        order: 1; /* Image first */
    }
    
    .coverage-philosophy-stability-section .col-lg-6:last-child,
    .system-section .col-lg-6:last-child {
        order: 2; /* Content second */
    }
    
    /* Specific rules for philosophy section where content comes first in HTML */
    .coverage-philosophy-stability-section .row:nth-child(2) .col-lg-6:first-child {
        order: 2; /* Content second */
    }
    
    .coverage-philosophy-stability-section .row:nth-child(2) .col-lg-6:last-child {
        order: 1; /* Image first */
    }
    
    /* Specific rules for system section research support where content comes first in HTML */
    .system-section .row:nth-child(3) .col-lg-6:first-child {
        order: 2; /* Content second */
    }
    
    .system-section .row:nth-child(3) .col-lg-6:last-child {
        order: 1; /* Image first */
    }
    
    .coverage-image,
    .philosophy-image,
    .stability-image,
    .system-image {
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Add more margin for mobile content */
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .coverage-philosophy-stability-section {
        padding: 2rem 2rem;
    }
    
    .system-section,
    .partners-section,
    .team-section,
    .solutions-section,
    .contact-section {
        padding: 2rem 1.5rem;
    }
    
    /* Mobile layout: images on top, content below */
    .coverage-philosophy-stability-section .row,
    .system-section .row {
        flex-direction: column;
    }
    
    /* Ensure image columns come first on mobile */
    .coverage-philosophy-stability-section .col-lg-6:first-child,
    .system-section .col-lg-6:first-child {
        order: 1; /* Image first */
    }
    
    .coverage-philosophy-stability-section .col-lg-6:last-child,
    .system-section .col-lg-6:last-child {
        order: 2; /* Content second */
    }
    
    /* Specific rules for philosophy section where content comes first in HTML */
    .coverage-philosophy-stability-section .row:nth-child(2) .col-lg-6:first-child {
        order: 2; /* Content second */
    }
    
    .coverage-philosophy-stability-section .row:nth-child(2) .col-lg-6:last-child {
        order: 1; /* Image first */
    }
    
    /* Specific rules for system section research support where content comes first in HTML */
    .system-section .row:nth-child(3) .col-lg-6:first-child {
        order: 2; /* Content second */
    }
    
    .system-section .row:nth-child(3) .col-lg-6:last-child {
        order: 1; /* Image first */
    }
    
    .coverage-image,
    .philosophy-image,
    .stability-image {
        height: 200px;
        margin: 0.5rem 0;
    }
    
    .system-image {
        height: 200px;
        margin: 0.5rem 0;
    }
    
    .globe {
        width: 200px;
        height: 200px;
    }
    
    .coverage-philosophy-stability-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .coverage-title,
    .coverage-text,
    .section-text {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .system-text {
        font-size: 1rem;
    }
    
    .system-title {
        font-size: 1.5rem;
    }
    
    .card-title,
    .partner-title,
    .team-title,
    .solution-title {
        font-size: 1.1rem;
    }
    
    .card-text,
    .partner-text,
    .team-text,
    .solution-text {
        font-size: 0.9rem;
    }
    
    .system-card,
    .partner-card,
    .solution-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        height: auto; /* Allow height to adjust on mobile */
        min-height: 300px; /* Minimum height on mobile */
    }
    
    .team-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        height: auto; /* Allow height to adjust on mobile */
        min-height: 400px; /* Higher minimum height for team cards on mobile */
    }
    
    .team-image {
        width: 100%; /* Use full width of card container */
        max-width: 200px; /* Maximum width on mobile */
        height: 150px;
    }
    
    .contact-section {
        padding: 2.5rem 1.5rem;
        min-height: 45vh;
    }
    
    .contact-form,
    .contact-info {
        padding: 1.5rem;
        min-height: 350px;
    }
    
    .map-placeholder {
        min-height: 220px;
    }
    
    /* Mobile contact section optimizations */
    .contact-section {
        padding: 2rem 1rem;
        min-height: auto;
    }
    
    .contact-section .col-lg-4 {
        margin-bottom: 1rem;
    }
    
    .contact-form,
    .contact-info {
        min-height: auto;
        padding: 1.5rem 1rem;
    }
    
    .map-placeholder {
        min-height: 200px;
        padding: 0.5rem;
    }
    
    .contact-form .form-control {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
    }
    
    .contact-form textarea.form-control {
        min-height: 100px;
    }
    
    .contact-form .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
    
    .contact-item {
        margin-bottom: 0.75rem;
        padding: 0.5rem;
    }
    
    .contact-item span {
        font-size: 0.85rem;
    }
    
    .contact-details {
        margin-top: 0.5rem;
    }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .contact-section {
        padding: 1.5rem 0.75rem;
    }
    
    .contact-section .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .contact-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 1rem 0.75rem;
    }
    
    .map-placeholder {
        min-height: 180px;
    }
    
    .contact-form .form-control {
        padding: 0.625rem;
        font-size: 0.85rem;
    }
    
    .contact-form textarea.form-control {
        min-height: 80px;
    }
    
    .contact-form .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .contact-item {
        margin-bottom: 0.5rem;
        padding: 0.375rem;
    }
    
    .contact-item span {
        font-size: 0.8rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-blue);
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-blue);
}

/* Philosophy Section */
.philosophy-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    min-height: 40vh;
}



/* Stability Element Styles (within unified section) */
.stability-content {
    padding: 2rem;
}

.stability-content .section-title {
    color: var(--white);
}

.stability-content .section-text {
    color: var(--light-blue);
}



/* System Section */
.system-section {
    padding: 2rem 2rem;
    background: var(--dark-blue);
    min-height: 50vh;
    max-width: 100%;
}

/* System Image Styles */
.system-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 280px;
    margin: 0.5rem 0;
}

.system-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.system-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* System Content Styles */
.system-content {
    padding: 1rem;
}

.system-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.system-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-blue);
}

/* Legacy card styles (keeping for other sections) */
.system-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 400px; /* Fixed height for PC display */
    display: flex;
    flex-direction: column;
}

.system-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.card-image {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.system-card:hover .card-image img {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--light-blue);
    line-height: 1.6;
    flex-grow: 1; /* Allow text to fill remaining space */
}

/* Partners Section */
.partners-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--teal) 0%, var(--secondary-blue) 100%);
    min-height: 60vh;
    max-width: 100%;
}

.partner-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 400px; /* Fixed height for PC display */
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.partner-image {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
}

.partner-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-image img {
    transform: scale(1.1);
}

.partner-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.partner-text {
    color: var(--light-blue);
    line-height: 1.6;
    flex-grow: 1; /* Allow text to fill remaining space */
}

/* Team Section */
.team-section {
    padding: 4rem 2rem;
    background: var(--dark-blue);
    min-height: 60vh;
    max-width: 100%;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    height: 500px; /* Increased height to accommodate square image and text */
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.team-image {
    margin-bottom: 1.5rem;
    border-radius: 15px; /* Changed from 50% to 15px for square with rounded corners */
    overflow: hidden;
    width: 100%; /* Use full width of card container */
    max-width: 280px; /* Maximum width to prevent overflow */
    height: 200px; /* Reduced height for better proportion */
    margin: 0 auto 1.5rem;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 15px; /* Match container border radius */
}

.team-card:hover .team-image img {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.team-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    flex-shrink: 0; /* Prevent title from shrinking */
}

.team-text {
    color: var(--light-blue);
    line-height: 1.7;
    flex-grow: 1; /* Allow text to fill remaining space */
    font-size: 1rem;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6; /* Limit to 6 lines */
    -webkit-box-orient: vertical;
}

/* Solutions Section */
.solutions-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    min-height: 60vh;
    max-width: 100%;
}

.solution-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 400px; /* Fixed height for PC display */
    display: flex;
    flex-direction: column;
}

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

.solution-image {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

.solution-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.solution-text {
    color: var(--light-blue);
    line-height: 1.6;
    flex-grow: 1; /* Allow text to fill remaining space */
}

/* Contact Section */
.contact-section {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 50%, var(--teal) 100%);
    min-height: 50vh;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.contact-section::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

/* Three Column Layout */
.contact-section .row {
    position: relative;
    z-index: 1;
    align-items: stretch;
}

.contact-section .col-lg-4 {
    margin-bottom: 1.5rem;
}

/* Contact Form - First Column */
.contact-form {
    padding: 1.5rem;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.contact-form form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 10px;
    padding: 0.875rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-form textarea.form-control {
    flex: 1;
    resize: vertical;
    min-height: 120px;
    max-height: 200px;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: auto;
}

.contact-form .form-control::placeholder {
    color: var(--light-blue);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    color: var(--white);
}

.contact-form .btn {
    background: var(--secondary-blue);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

/* Contact Info - Second & Third Columns */
.contact-info {
    padding: 1.5rem;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

/* Map Placeholder - Second Column */
.map-placeholder {
    height: 100%;
    min-height: 250px;
    overflow: hidden;
    flex: 1;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: none;
}

.map-placeholder i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-details {
    margin-top: 1rem;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--light-blue);
    padding: 0.75rem;
    gap: 0.75rem;
}

.contact-item i {
    margin-right: 0;
    color: var(--secondary-blue);
    width: 16px;
    flex-shrink: 0;
    margin-top: 0.2rem;
    font-size: 0.9rem;
}

.contact-item span {
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    color: var(--light-blue);
    margin: 0;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(45deg, var(--white), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-glow {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}
