/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* -------------------- HEADER -------------------- */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    width: 120px;
    height: 75px;
    object-fit: cover;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: 0.3s;
}

.nav a:hover {
    color: #15639e;
}

/* Header Contact Info */
.header-contact {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #374151;
    cursor: pointer;
}

/* -------------------- HERO VIDEO -------------------- */
.hero-video {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;       /* ✅ Fix for mobile: video won't block clicks */
}

/* -------------------- HERO SECTION -------------------- */
.hero {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #ecfdf5 100%);
    padding: 4rem 0 6rem;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #15639e, #4bb6f4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.btn-primary {
    background: #15639e;
    color: white;
}

.btn-primary:hover {
    background: #4bb6f4;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #4bb6f4;
    color: white;
}

.btn-secondary:hover {
    background: #15639e;
    transform: translateY(-2px);
}
/* -------------- SECTIONS -------------- */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* -------------- SERVICES SECTION -------------- */
.services {
    background: #f9fafb;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.service-card {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 400px;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.service-card-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.4);
    padding: 1rem;
    color: white;
    text-align: center;
}

.service-card-footer h3 {
    margin-bottom: 1rem;
}

/* -------------- INDUSTRIES SECTION -------------- */
.industries {
    background: #fff;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.industry-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    padding: 1.5rem;
    transition: 0.3s;
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.industry-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
}

.industry-icon i {
    font-size: 1.5rem;
}

/* Colors */
.industry-icon.red { background: #fef2f2; color: #dc2626; }
.industry-icon.orange { background: #fff7ed; color: #ea580c; }
.industry-icon.blue { background: #eff6ff; color: #15639e; }
.industry-icon.purple { background: #faf5ff; color: #9333ea; }
.industry-icon.green { background: #f0fdf4; color: #166534; }
.industry-icon.indigo { background: #eef2ff; color: #4f46e5; }
.industry-icon.yellow { background: #fefce8; color: #ca8a04; }
.industry-icon.pink { background: #fdf2f8; color: #ec4899; }

/* -------------- WHY CHOOSE US SECTION -------------- */
.why-choose-us {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #ecfdf5 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: #15639e;
}

.cta-section {
    position: relative;
    height: 400px;
    background-image: url('images/worldmap.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-content {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.2);
    padding: 2rem;
    border-radius: 16px;
    color: #ffffff;
    text-align: center;
}

/* -------------- CONTACT SECTION -------------- */
.contact {
    background: #f9fafb;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Input Fields */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #15639e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* -------------- FOOTER -------------- */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer a {
    color: #d1d5db;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}
/* ===========================
   ✅ RESPONSIVE DESIGN
   =========================== */

/* Tablets and smaller (<= 1024px) */
@media (max-width: 1024px) {
    .nav {
        gap: 1rem;
    }
}

/* Mobile devices (<= 768px) */
@media (max-width: 768px) {
    .header-contact {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav {
        display: none; /* Hidden by default → Shown via JavaScript */
        flex-direction: column;
        align-items: flex-start;
        background: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav a {
        padding: 0.75rem 0;
        width: 100%;
        border-bottom: 1px solid #e5e7eb;
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* ✅ Keep same text size on mobile */
    .hero-title,
    .section-header h2,
    h1, h2, h3, h4, h5, h6,
    body, p, a, span, input, textarea, button {
        font-size: inherit !important;
        line-height: inherit !important;
    }
}

/* Small phones (<= 480px) */
@media (max-width: 480px) {

    /* ✅ Prevent shrinking of fonts */
    .hero-title {
        font-size: 3rem !important;
    }

    .section-header h2 {
        font-size: 2.2rem !important;
    }

    body, p {
        font-size: 1rem !important;
    }

    /* Improve Padding */
    .container {
        padding: 0 15px;
    }
}

/* ===========================
   ✅ ANIMATIONS
   =========================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ripple effect for buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Success Message */
.success-message {
    background: #f0fdf4;
    color: #15639e;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #bbf7d0;
    display: none;
}

.success-message.show {
    display: block;
}

/* Dropdown menu inside header */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    font-weight: 500;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Scroll-to-top button */
.scroll-to-top {
    pointer-events: auto;
}
