/* Global Styles */
:root {
    --primary-color: #003366;
    /* Deep Navy Blue */
    --secondary-color: #28a745;
    /* Growth Green */
    --accent-color: #f39c12;
    /* Innovation Orange */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-overlay: rgba(0, 0, 0, 0.6);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 8px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 45px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    pointer-events: none;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu li {
    margin-left: 0 !important;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
}

/* For mobile dropdown */
@media screen and (max-width: 768px) {
    .dropdown {
        flex-direction: column;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        width: 100%;
        text-align: center;
        background-color: transparent;
        transition: all 0.4s ease;
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: 500px;
        padding: 10px 0;
    }

    .dropdown-toggle i {
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-color: #333;
    overflow: hidden;
    /* For zoom effect */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    z-index: 0;
    animation: heroZoom 20s linear infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Reduced opacity for better visibility */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.about-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin-top: 10px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #555;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    background-color: #eee;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ccc;
}

/* Sectors Section */
.sectors-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sector-card {
    display: block;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid transparent;
    color: inherit;
    text-decoration: none;
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--primary-color);
}

.icon-box {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.sector-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Why Choose Us */
.why-choose-us {
    padding: 100px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-item:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 35px;
    border-radius: 5px;
    font-weight: 700;
}

.btn-light:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* Animations */
.animate-up,
.fade-in-left,
.fade-in-right,
.fade-in-up {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-up {
    transform: translateY(50px) scale(0.95);
}

.fade-in-left {
    transform: translateX(-60px);
}

.fade-in-right {
    transform: translateX(60px);
}

.fade-in-up {
    transform: translateY(60px) scale(0.9);
}

.visible {
    opacity: 1;
    transform: translate(0) scale(1) !important;
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

.delay-600 {
    transition-delay: 0.6s;
}

/* Mobile Responsive */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: var(--transition);
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 61px;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 900;
        padding-top: 50px;
    }

    .nav-links li {
        margin: 30px 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        /* Image on top on mobile */
        margin-bottom: 30px;
    }
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: var(--white);
    font-size: 1.5rem;
}

.info-text h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-text p {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

.status-green {
    color: var(--secondary-color);
    font-weight: 600;
}

.follow-us {
    margin-top: 40px;
}

.follow-us h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-btn.facebook {
    background-color: #3b5998;
}

.social-btn.instagram {
    background-color: #e4405f;
}

.social-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

/* Form Styles */
.contact-form-container {
    background: var(--white);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.submit-chat-btn {
    width: auto;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.submit-chat-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.submit-chat-btn i {
    font-size: 1.4rem;
}

/* Mobile Responsive Contact Section */
@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media screen and (max-width: 480px) {
    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .submit-chat-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   MD Message – About Page (Compact Layout)
   ======================================== */
.md-message-about {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.md-about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

/* Image Card (Left) */
.md-about-image-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    min-height: 380px;
}

.md-about-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 6s ease;
}

.md-about-image-card:hover img {
    transform: scale(1.06);
}

/* Message Content (Right) */
.md-about-content {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95), rgba(0, 20, 50, 0.97));
    border-radius: 16px;
    padding: 40px 35px;
    color: var(--white);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.md-about-quote-open {
    color: var(--accent-color);
    opacity: 0.3;
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 8px;
}

.md-about-quote-close {
    color: var(--accent-color);
    opacity: 0.3;
    font-size: 2.2rem;
    line-height: 1;
    text-align: right;
    margin-top: 8px;
}

.md-about-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.md-about-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    margin-top: 10px;
    border-radius: 2px;
}

.md-about-body p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.md-about-body p:last-child {
    margin-bottom: 0;
}

.md-about-body .md-greeting {
    font-size: 0.98rem;
    color: var(--white);
}

.md-about-body .md-greeting strong {
    color: var(--accent-color);
}

.md-about-body strong {
    color: rgba(255, 255, 255, 0.95);
}

.md-about-signature {
    margin-top: 22px;
    padding-top: 16px;
}

.md-about-signature .md-signature-line {
    width: 45px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
    margin-bottom: 12px;
}

.md-about-signature .md-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.md-about-signature .md-role {
    font-size: 0.82rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Responsive – MD About */
@media screen and (max-width: 768px) {
    .md-message-about {
        padding: 60px 0;
    }

    .md-about-grid {
        grid-template-columns: 1fr;
    }

    .md-about-image-card {
        min-height: 240px;
    }

    .md-about-content {
        padding: 32px 24px;
    }

    .md-about-title {
        font-size: 1.2rem;
    }

    .md-about-body p {
        font-size: 0.88rem;
    }
}