/* =========================================
   VIBRANT & COLORFUL GLOBAL VARIABLES 
   ========================================= */
:root {
    --primary: #0077B6; /* Deep Ocean Blue */
    --secondary: #00B4D8; /* Bright Cyan */
    --gradient-main: linear-gradient(135deg, #0077B6, #00B4D8);
    --gradient-dark: linear-gradient(135deg, #03045E, #023E8A);
    
    --bg-light: #F0F8FF; /* Soft Alice Blue */
    --bg-white: #FFFFFF;
    
    --text-dark: #03045E;
    --text-light: #FFFFFF;
    
    --font-main: 'Poppins', sans-serif;
    --shadow-soft: 0 10px 30px rgba(0, 119, 182, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 180, 216, 0.25);
}

/* =========================================
   RESET & BASICS
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}
body {
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
}
a {
    text-decoration: none;
    color: inherit;
}
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
}

/* Beautiful Gradient Headings */
h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 4.5rem;
    font-weight: 700;
}

/* =========================================
   TOP BAR & HEADER
   ========================================= */
.top-bar {
    background: var(--gradient-main);
    color: var(--text-light);
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
header {
    background: var(--bg-white);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}
nav a {
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: var(--gradient-main);
    transition: width 0.3s;
    border-radius: 2px;
}
nav a:hover {
    color: var(--primary);
}
nav a:hover::after {
    width: 100%;
}
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    background: linear-gradient(rgba(43, 43, 54, 0.85), rgba(108, 99, 255, 0.7)), url('images/hero-bg.jpg') center/cover;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    text-align: center;
    padding: 20px;
    border-radius: 0 0 50px 50px; 
    margin-bottom: 40px;
    box-shadow: var(--shadow-soft);
}
.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
}
.btn {
    padding: 15px 40px;
    background: var(--gradient-main);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 101, 132, 0.4);
    cursor: pointer;
}
.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(255, 101, 132, 0.6);
}

/* =========================================
   GRID LAYOUTS & FLOATING CARDS
   ========================================= */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    font-size: 1.1rem;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--primary);
}
.card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--secondary);
}
.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gradient-main);
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    box-shadow: 0 8px 15px rgba(108, 99, 255, 0.3);
}
.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* =========================================
   IMAGE CAROUSEL (100x100px)
   ========================================= */
.carousel-container {
    background: var(--gradient-dark);
    padding: 60px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    border-radius: 30px;
    margin: 40px 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.carousel-container h2 {
    color: var(--text-light);
    background: none;
    -webkit-text-fill-color: var(--text-light);
}
.carousel-track {
    display: inline-block;
    animation: scroll 40s linear infinite;
}
.carousel-track img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0 15px;
    border-radius: 15px;
    border: 3px solid var(--secondary);
    box-shadow: 0 8px 20px rgba(255, 101, 132, 0.4);
    transition: transform 0.3s;
}
.carousel-track img:hover {
    transform: scale(1.1);
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   FAQ & CONTACT
   ========================================= */
.faq-item {
    background: var(--bg-white);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-left: 6px solid var(--primary);
    border-radius: 0 15px 15px 0;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
}
.faq-item:hover {
    border-left-color: var(--secondary);
    background: #fffafa;
}
.faq-item strong {
    color: var(--primary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}
.contact-details h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary);
}
.contact-details p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.icon-colorful {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
}
iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

/* =========================================
   POP-UP MODAL STYLES
   ========================================= */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 43, 54, 0.7); 
    backdrop-filter: blur(8px); 
    align-items: center;
    justify-content: center;
}
.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}
.modal-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    text-align: center;
    border-top: 6px solid var(--primary);
    animation: slideUp 0.4s ease-out;
}
.modal-content h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 5px;
}
.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2.2rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}
.close-btn:hover {
    color: var(--secondary);
}
.input-group {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.input-group.align-top {
    align-items: flex-start;
}
.input-group i {
    position: absolute;
    left: 15px;
    color: var(--primary);
    font-size: 1.2rem;
}
.input-group input, .input-group textarea {
    width: 100%;
    padding: 15px 15px 15px 45px; 
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    background: var(--bg-light);
    transition: all 0.3s;
}
.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.15);
    background: #fff;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .menu-toggle {
        display: block;
    }
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        display: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 2px solid var(--primary);
    }
    nav.active {
        display: block;
    }
    nav ul {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        text-align: center;
    }
    .text-gradient {
        font-size: 3rem;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    iframe {
        min-height: 350px;
    }
}
/* =========================================
   NEW "BIGGER" LAYOUT STYLES 
   ========================================= */

/* Increased padding for bigger sections */
section {
    padding: 100px 20px; /* Increased from 80px */
}

.bg-light-gray {
    background-color: #f0f4f8;
    border-radius: 40px;
    margin: 20px;
}

/* Split Hero Section */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 85vh;
    padding: 40px 5%;
    background-color: var(--bg-light);
}
.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-text p {
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 30px;
}
.hero-image-box img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2);
    object-fit: cover;
    max-height: 600px;
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    box-shadow: var(--shadow-soft);
    border-radius: 20px;
    margin: -50px 5% 50px 5%;
    position: relative;
    z-index: 10;
}
.stat-box h2 {
    font-size: 3.5rem;
    margin-bottom: 0;
}
.stat-box p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* About Us Grid (Image Left, Text Right) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-img-wrapper img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}
.about-text {
    text-align: left;
}
.about-text h2 {
    text-align: left;
    margin-bottom: 20px;
}
.about-text p {
    font-size: 1.15rem;
    margin-bottom: 15px;
}

/* Service & Team Cards with Images */
.card {
    padding: 0; /* Removing padding to allow image to stretch */
    overflow: hidden;
}
.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 4px solid var(--primary);
}
.card-content {
    padding: 30px;
}

/* Mobile Adjustments for the new layouts */
@media (max-width: 900px) {
    .hero-split, .about-grid, .info-grid {
        grid-template-columns: 1fr;
    }
    .stats-section {
        flex-direction: column;
        gap: 30px;
        margin-top: 20px;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
}
/* =========================================
   GALLERY PAGE & LIGHTBOX STYLES
   ========================================= */

/* The grid layout for the gallery pictures */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    background: var(--bg-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08); /* Slight zoom effect on hover */
}

/* Lightbox Background Overlay */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

/* Lightbox Image */
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    border: 3px solid var(--primary);
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--secondary);
    text-decoration: none;
    cursor: pointer;
}

/* Mobile Adjustments for Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    .gallery-item img {
        height: 180px;
    }
    .lightbox-content {
        width: 100%;
    }
}