/* Root Variables */
:root {
    --primary-dark: #1a3b5d;
    --primary-blue: #2a4b6d;
    --accent-blue: #4a9eff;
    --light-blue: #e8f4ff;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --gradient-1: linear-gradient(135deg, #1a3b5d 0%, #2a4b6d 100%);
    --gradient-2: linear-gradient(135deg, #4a9eff 0%, #2a4b6d 100%);
    --shadow: 0 10px 30px rgba(26, 59, 93, 0.1);
    --shadow-lg: 0 20px 60px rgba(26, 59, 93, 0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - UPDATED */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 20px;
    min-height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    margin-right: 35px;
    padding: 8px 0;
}

/* Logo Image Styling - UPDATED */
.nav-brand img {
    height: 100px;
    width: auto;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
    display: block;
    margin: auto 0;
    padding: 5px 10px 5px 0;
}

/* Brand Text Container */
.brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.1;
}

.brand-text .company-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.brand-text .nav-tagline {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent-blue);
    line-height: 1;
}

/* Logo Hover Effects */
.nav-brand:hover img {
    transform: scale(1.03);
}

.nav-brand:hover .company-name {
    color: var(--accent-blue);
}

.nav-brand i {
    color: var(--accent-blue);
    font-size: 1.8rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-quote {
    background: var(--gradient-1);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-quote::after {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    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 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(74,158,255,0.1)"/></svg>') no-repeat center bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: #3a8eef;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74,158,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-2);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-description {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Vision & Mission Section */
.vision-mission {
    background: var(--light-blue);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.vm-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--white);
}

.vm-card h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.vm-card p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-blue);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--text-dark);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: var(--accent-blue);
}

/* ========================================
   VIDEO MODAL STYLES - ADD TO END OF CSS
   ======================================== */

/* Video Modal Overlay */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
    overflow: auto;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Content Container */
.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideInModal 0.4s ease;
}

@keyframes slideInModal {
    from {
        transform: scale(0.8) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Modal Video Player */
.modal-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* Video Info Below Player */
.video-info-modal {
    background: linear-gradient(135deg, #1a3b5d 0%, #2a4b6d 100%);
    padding: 20px 30px;
    color: white;
}

.video-info-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: white;
}

.video-info-modal p {
    font-size: 1rem;
    opacity: 0.9;
    color: #a8d8ff;
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.6);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    background: rgba(74, 158, 255, 0.8);
    transform: rotate(90deg);
    color: white;
}

/* Preview Video Styling */
.preview-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .preview-video {
    transform: scale(1.05);
}

/* Video Thumbnail Updates */
.video-thumbnail {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 250px;
    background: #000;
}

.video-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

/* Play Button Enhancement */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(74, 158, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.4);
}

.play-button i {
    margin-left: 5px;
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.15);
    background: rgba(74, 158, 255, 1);
    box-shadow: 0 15px 40px rgba(74, 158, 255, 0.6);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 20px;
    }

    .close-modal {
        top: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 30px;
    }

    .video-info-modal {
        padding: 15px 20px;
    }

    .video-info-modal h3 {
        font-size: 1.2rem;
    }

    .video-info-modal p {
        font-size: 0.9rem;
    }

    .video-thumbnail {
        height: 200px;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .video-thumbnail {
        height: 180px;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}
/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
}

.feature-box h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--text-dark);
}

/* Gallery Preview */
.gallery-preview {
    background: var(--light-blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26,59,93,0.9), transparent);
    color: var(--white);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.text-center {
    text-align: center;
}

/* Quote Section */
.quote-section {
    background: var(--gradient-1);
    color: var(--white);
}

.quote-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.quote-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.quote-info p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.quote-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.quote-feature i {
    color: var(--accent-blue);
    font-size: 1.5rem;
}

.quote-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.btn-block {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

/* Contact Banner */
.contact-banner {
    background: var(--primary-dark);
    color: var(--white);
    padding: 40px 0;
}

.contact-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--accent-blue);
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-item p {
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--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,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
}

/* Responsive Design - UPDATED */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        transition: left 0.3s;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile Navigation Styling - UPDATED */
    .nav-brand {
        gap: 10px;
        padding: 5px 0;
    }

    .nav-brand img {
        height: 50px;
        padding: 3px 10px 3px 0;
    }

    .brand-text {
        gap: 2px;
    }

    .brand-text .company-name {
        font-size: 0.95rem;
        letter-spacing: 0.2px;
    }

    .brand-text .nav-tagline {
        font-size: 0.48rem;
        letter-spacing: 0.8px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .quote-content,
    .form-row {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Tablet Responsive - UPDATED */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-brand {
        gap: 15px;
        padding: 6px 0;
    }

    .nav-brand img {
        height: 65px;
        padding: 4px 12px 4px 0;
    }

    .brand-text {
        gap: 2px;
    }

    .brand-text .company-name {
        font-size: 1.15rem;
    }

    .brand-text .nav-tagline {
        font-size: 0.58rem;
    }
}