/* Basic Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}
/* 2-column layout for contact section */
@media (max-width: 768px) {
    .solution-content-wrapper {
        flex-direction: column !important;
        text-align: center;
    }
.solution-image:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

    .solution-text, .solution-media {
        flex: 1 1 100%;
    }

    .nav-links {
        flex-direction: column;
        display: none;
    }

    .burger {
        display: block;
        cursor: pointer;
    }
}

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: #0057ff;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-primary:hover {
    background: #003fcc;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.solution-detail {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}
.solution-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}
.solution-content-wrapper.reverse-layout {
    flex-direction: row-reverse;
}
.solution-text, .solution-media {
    flex: 1 1 50%;
}
.solution-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.image-caption {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

.page-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: -1;
}
.hero-content {
    z-index: 1;
}

.two-column-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.two-column-layout > div {
    flex: 1 1 50%;
    min-width: 300px;
}

/* Contact info styling */
.contact-info-departments {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.contact-info-departments h3 {
    margin-bottom: 20px;
    color: #333;
}

.department-card {
    margin-bottom: 20px;
}

.department-card h4 {
    color: #0077cc;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.department-card p,
.department-card a {
    font-size: 14px;
    color: #444;
}
/* Two-column layout */
.contact-two-columns {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-left, .contact-right {
    flex: 1 1 48%;
    min-width: 320px;
}

/* LEFT column - contact info */
.contact-left {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-left h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #222;
}

.department-card {
    margin-bottom: 25px;
}

.department-card h4 {
    color: #0077cc;
    margin-bottom: 5px;
}

.department-card p,
.department-card a {
    font-size: 14px;
    color: #444;
}

/* RIGHT column - contact form */
.contact-right {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-right h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: #333;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    background-color: #f7f7f7;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0077cc;
    background-color: #fff;
    outline: none;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 14px;
    background-color: #0077cc;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: #005fa3;
}

/* Responsive layout */
@media (max-width: 768px) {
    .contact-two-columns {
        flex-direction: column;
    }

    .contact-left,
    .contact-right {
        flex: 1 1 100%;
    }
}

/* Contact form appearance (already improved in previous step) */
.contact-form-main {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Responsive layout */
@media (max-width: 768px) {
    .two-column-layout {
        flex-direction: column;
    }
}

.contact-hero {
    background-image: url('images/bgroud.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px; /* Increase height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px 20px;
}



.contact-hero .hero-content {
    max-width: 800px;
    color: white; /* Ensure all text inside is white */
}

.contact-hero h1,
.contact-hero p,
.contact-hero a {
    color: white;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

h1, h2, h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5em;
    font-weight: 700;
}

h2 {
    font-size: 2.5em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8em;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-outline, .btn-solution {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    border: 2px solid #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #007bff;
}

.btn-primary-outline {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    margin-top: 30px;
}

.btn-primary-outline:hover {
    background-color: #007bff;
    color: #fff;
}

.btn-solution {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 0.9em;
}

.btn-solution:hover {
    background-color: #0056b3;
}


/* Header & Navigation */
header {
    background-color: rgba(44, 62, 80, 0.95); /* Dark blue/grey with slight transparency */
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav .logo img {
    height: 45px; /* Adjust logo size */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 1.05em;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Burger for Mobile (Hidden by default) */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
}

.burger div {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Ensures video covers the entire area */
}

.hero-overlay {
    position: relative; /* Needed for z-index of hotspots */
    z-index: 2;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    padding: 50px 30px;
    border-radius: 10px;
    max-width: 800px;
}

.hero-overlay h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-overlay p {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Video Hotspots (Interlinking Idea) */
.video-hotspots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none; /* Allows clicks to pass through to video unless on hotspot */
}

.hotspot {
    position: absolute;
    width: 60px; /* Size of the icon */
    height: 60px;
    background-color: rgba(0, 123, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
    transition: transform 0.3s ease, background-color 0.3s ease;
    pointer-events: auto; /* Make hotspots clickable */
    animation: pulse 2s infinite; /* Simple pulse animation */
}

.hotspot:hover {
    transform: scale(1.1);
    background-color: #0056b3;
}

.hotspot img {
    width: 60%;
    height: 60%;
    filter: invert(1); /* Makes icons white */
}

.hotspot-tooltip {
    position: absolute;
    bottom: -30px; /* Position below the hotspot */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Positioning for example hotspots - adjust as needed based on video content */
.hotspot.medical {
    top: 45%;
    left: 15%;
}

.hotspot.ecommerce {
    top: 70%;
    left: 80%;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}


/* Mission Section */
.mission-section {
    padding: 80px 0;
    background-color: #eef7ff;
    text-align: center;
}

.mission-section h2 {
    color: #007bff;
}

.mission-section p {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.mission-section .read-more {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1em;
}

.mission-section .read-more:hover {
    text-decoration: underline;
}

/* Highlights Section */
.highlights-section {
    padding: 80px 0;
    background-color: #fff;
}

.highlights-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.highlight-card {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.highlight-card img {
    height: 60px;
    margin-bottom: 20px;
}

.highlight-card h3 {
    color: #007bff;
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
}


/* Featured Solutions Section */
.featured-solutions-section {
    padding: 80px 0;
    background-color: #eef7ff;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.solution-card:hover {
    transform: translateY(-10px);
}

.solution-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.solution-card h3 {
    margin: 20px 0 10px;
    color: #2c3e50;
}

.solution-card p {
    padding: 0 20px;
    font-size: 0.95em;
    color: #555;
}

.solution-card .btn-solution {
    margin: 20px 0 25px;
}

/* Latest News Section */
.latest-news-preview {
    padding: 80px 0;
    background-color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-item h3 {
    padding: 20px 20px 10px;
    font-size: 1.4em;
    color: #2c3e50;
}

.news-item p {
    padding: 0 20px 15px;
    font-size: 0.95em;
    color: #666;
}

.news-item a {
    display: inline-block;
    padding: 0 20px 20px;
    font-weight: 600;
    color: #007bff;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 30px;
    font-size: 0.9em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #007bff;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ecf0f1;
}

.footer-col ul li a:hover {
    color: #007bff;
}

.footer-col.brand-info img.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-col.brand-info p {
    font-size: 0.9em;
    margin-bottom: 20px;
    color: #ccc;
}

.social-links img {
    height: 25px;
    margin-right: 15px;
    transition: transform 0.3s ease;
    filter: invert(1); /* Makes social icons white */
}

.social-links img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.footer-bottom p {
    margin: 0;
    color: #ccc;
}

.footer-bottom ul {
    list-style: none;
    display: flex;
    margin-top: 10px; /* For mobile spacing */
}

.footer-bottom ul li {
    margin-left: 20px;
}

.footer-bottom ul li a {
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        margin-left: 0;
    }

    .hero-overlay h1 {
        font-size: 3.5em;
    }

    .hero-overlay p {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        display: none; /* Hidden by default for mobile */
        background-color: rgba(44, 62, 80, 0.98);
        padding: 20px 0;
        position: absolute;
        top: 85px; /* Adjust based on header height */
        left: 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-links.nav-active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .burger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 30px;
    }

    .hero-overlay {
        padding: 30px 20px;
    }

    .hero-overlay h1 {
        font-size: 2.5em;
    }

    .hero-overlay p {
        font-size: 1em;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .highlights-section .container,
    .solution-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom ul {
        margin-top: 15px;
        flex-direction: column;
    }

    .footer-bottom ul li {
        margin: 5px 0;
    }
}

/* Burger Animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}