/* Global Styles */
:root {
    --primary-color: #0F4C75;
    /* Madiarchi Blue */
    --secondary-color: #3282B8;
    /* Lighter Blue */
    --accent-color: #BBE1FA;
    /* Pale Blue */
    --text-dark: #1B262C;
    --text-light: #F0F2F5;
    --white: #ffffff;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
.logo {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    background: rgba(15, 76, 117, 0.9);
    /* Fallback */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    padding: 10px 0;
    background: rgba(15, 76, 117, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

/* Desktop Nav */
.desktop-nav {
    display: none;
    /* Hidden by default, shown in media query */
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-links a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.nav-btn):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Nav Button Style for Contact */
.nav-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--white);
    color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

@media (min-width: 993px) {
    .desktop-nav {
        display: block;
    }

    .menu-toggle {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    color: var(--white);
    background: #000;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Video Slide Specifics */
.video-slide {
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 76, 117, 0.3), rgba(27, 38, 44, 0.8));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-top: 40px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}


/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Company Overview */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.overview-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.overview-text h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.heading-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin-bottom: 25px;
    border-radius: 2px;
}

.overview-text p {
    margin-bottom: 20px;
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.7;
}

.modern-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: #eee;
    border-radius: 12px;
    overflow: hidden;
    background-image: url('../images/who_are_we.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.modern-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 76, 117, 0.8), transparent 50%);
    color: var(--white);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-img:hover .img-overlay {
    opacity: 1;
}

.img-overlay span {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.modern-img:hover .img-overlay span {
    transform: translateY(0);
}

/* Mission & Vision Cards */
.mission-vision-container {
    margin-top: 80px;
    gap: 40px;
}

.overview-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(15, 76, 117, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: background 0.3s ease, color 0.3s ease;
}

.overview-card:hover .card-icon {
    background: var(--primary-color);
    color: var(--white);
}

.overview-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.overview-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.05rem;
}



/* Core Values Section - Full Image Background */
.values {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('../images/who_are_we.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
    padding: 100px 0;
}

/* Remove Teal Bottom Bar Overlay */
.values::after {
    display: none;
}

/* Adjust Section Title */
.values .section-title {
    color: var(--white);
    position: relative;
    z-index: 2;
    font-size: 3rem;
    margin-bottom: 60px;
    text-transform: capitalize;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.value-card {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: #ffffff !important;
}

/* Icon Container */
.value-card .icon {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    transition: transform 0.3s ease;
}

.value-card:hover .icon {
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.value-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 0;
}

/* Removed Read More */
.read-more {
    display: none;
}


/* Scroll Animation Class */
.fade-up-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel */
.projects {
    background-color: #f9f9f9;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.carousel-container {
    position: relative;
    height: 500px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    /* Hide overflow */
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.project-card {
    display: flex;
    /* Or grid */
    flex-direction: column;
    height: 100%;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin: 0 10px;
    /* Spacing between slides if needed */
}

/* For full width single slide */
.project-card {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    height: 100%;
}

.project-img {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    /* Images */
}

/* Specific Slide Images */
.carousel-slide:nth-child(1) .project-card .project-img {
    background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
}

.carousel-slide:nth-child(2) .project-card .project-img {
    background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
}

.carousel-slide:nth-child(3) .project-card .project-img {
    background-image: url('https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
}

.project-img span {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    display: none;
    /* Hide text in image, use info box */
}

/* Modern Footer */
.main-footer {
    background: linear-gradient(135deg, #0F4C75 0%, #0a3d5f 100%);
    /* Madiarchi Blue Gradient */
    color: #e0e0e0;
    padding: 80px 0 30px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

/* Optional glow effect */
.main-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Brand wider, newsletter narrower */
    gap: 80px;
    margin-bottom: 50px;
    align-items: center;
}

.footer-logo h3 {
    margin: 0;
    font-size: 2rem;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-desc {
    margin: 20px 0;
    line-height: 1.7;
    max-width: 500px;
    font-weight: 300;
}

.newsletter-col {
    text-align: right;
}

.newsletter-col h4 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.newsletter-col p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-links {
    margin-top: 0;
    /* Aligned with text */
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
    color: var(--white);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modern Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Equal width columns */
    gap: 60px;
    align-items: start;
}

/* Testimonials Container */
.testimonials-section {
    margin-top: 40px;
    background-color: #0F4C75;
    /* Similar blue to reference */
    padding: 20px;
    border-radius: 12px;
    color: var(--white);
}

/* Services Section - Matching Core Values Style */
.services {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    /* Building/Structure Background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
    padding: 100px 0;
}

.services .section-title {
    color: var(--white);
    margin-bottom: 60px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-item {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: #ffffff !important;
}

/* Service Icons */
.service-item .icon {
    width: 70px;
    /* Maintain icon size from Core Values */
    height: 70px;
    margin-bottom: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    transition: transform 0.3s ease;
}

.service-item:hover .icon {
    transform: scale(1.1);
}

.service-item h3 {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Portfolio Page Styles */
.page-hero {
    height: 50vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1487958449943-2429e8be8625?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    position: relative;
    /* Added to confine absolute overlay */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.item-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .item-image {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.item-overlay span {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
    display: block;
}

.view-project-btn {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.2s, background 0.3s, color 0.3s;
}

.view-project-btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

.portfolio-item:hover .item-overlay h3,
.portfolio-item:hover .item-overlay span,
.portfolio-item:hover .view-project-btn {
    transform: translateY(0);
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    /* Enable scroll */
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal.open {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    /* White on image */
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal-header {
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.modal-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 40px;
}

.modal-body h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.modal-meta {
    font-size: 1rem;
    color: #777;
    margin-bottom: 25px;
    font-weight: 500;
}

.modal-description {
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.gallery-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Feedback Form Styles */
.right-column {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Soft shadow for the whole column/card */
    padding: 30px;
    margin-top: 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 1.8rem;
}

.form-header p {
    font-size: 0.95rem;
    color: #666;
}

/* Modern Input Groups */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(50, 130, 184, 0.1);
    outline: none;
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.95rem;
    pointer-events: none;
    transition: 0.3s ease all;
    background: transparent;
    padding: 0 4px;
}

.form-group textarea+label {
    top: 15px;
    transform: none;
}

/* Floating Label Active State */
.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    background: #fff;
    /* Mask line behind label */
    transform: none;
}

/* Anonymous Toggle */
.anonymous-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Align to right */
    margin-bottom: 15px;
}

.toggle-label {
    margin-left: 10px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

/* Character Count */
.char-count {
    text-align: right;
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 4px;
}

/* Rating Group */
.rating-group {
    text-align: center;
    margin-bottom: 30px;
    padding: 15px;
    background: #f0f7fc;
    /* Light blue tint */
    border-radius: 8px;
}

.rating-label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stars {
    display: inline-flex;
    gap: 8px;
}

.stars i {
    font-size: 1.5rem;
    color: #cbd5e1;
    /* Unselected color */
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
}

.stars i:hover {
    transform: scale(1.2);
    color: #ffd700;
}

.stars i.filled {
    color: #ffc107;
}

/* Submit Button */
.btn-primary.full-width {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(50, 130, 184, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary.full-width:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 130, 184, 0.4);
}


.testimonials-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
}

/* Testimonial Slider (Reference Style) */
.testimonial-slider-container {
    position: relative;
    height: 250px;
    /* Increased height for content */
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Client Card */
.client-card {
    background: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.client-meta {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.client-rating {
    color: #ffc107;
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
}

.client-review {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    font-style: italic;
    /* Use italic for differentiation if desired, ref image looks standard but quoted */
    margin-bottom: auto;
    /* Push date to bottom */
}

.review-date {
    display: block;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #999;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: transparent;
    /* cleaner look */
    padding: 0;
    box-shadow: none;
}

.contact-item {
    display: flex;
    align-items: center;
    /* Center vertically */
    margin-bottom: 30px;
    padding: 20px;
    /* Add padding for card interaction */
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Subtle shadow per item */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--white);
    background: var(--primary-color);
    /* Circle background */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Reduced Map Size */
.contact-map iframe {
    height: 200px !important;
    /* Force reduced height */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Contact Form - Floating Labels */
.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    /* Deeper shadow */
}

/* Footer Newsletter */
.footer-newsletter {
    display: flex;
    justify-content: flex-end;
}

.footer-newsletter input {
    width: 100%;
    max-width: 300px;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter button {
    padding: 0 25px;
    background: var(--accent-color);
    border: none;
    color: var(--primary-color);
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.footer-newsletter button:hover {
    background: var(--white);
    padding-right: 35px;
    /* Arrow movement effect */
}

.main-footer hr {
    border-color: rgba(255, 255, 255, 0.15);
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom-links a {
    margin-left: 25px;
    color: #e0e0e0;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .newsletter-col {
        text-align: center;
    }

    .footer-desc {
        margin: 20px auto;
    }

    .footer-newsletter {
        justify-content: center;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 15px;
    }
}

.project-info {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
    color: var(--text-dark);
}

/* Carousel Nav */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    z-index: 10;
}

.carousel-button svg {
    width: 40px;
    height: 40px;
}

.carousel-button--left {
    left: 20px;
}

.carousel-button--right {
    right: 20px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 10;
}

.carousel-indicator {
    border: 0;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: #ccc;
    margin: 0 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-indicator.current-slide {
    background: var(--primary-color);
}

.is-hidden {
    display: none;
}


/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .project-card {
        grid-template-columns: 1fr;
        grid-template-rows: 250px auto;
    }

    .project-info {
        padding: 30px;
    }

    .project-info h3 {
        font-size: 1.5rem;
    }
}

/* Part 2 Styles */

/* Core Values */
.values {
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary-color);
}

.value-card .icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: var(--accent-color);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    /* Basic icon placeholder styling */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Services */
.services {
    background-color: #f4f7f6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-item {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.service-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Team */
.team {
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
}

.member-img {
    width: 150px;
    height: 150px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Placeholder Image */
    background-image: url('https://images.unsplash.com/photo-1500648767791-00dcc994a43e?ixlib=rb-1.2.1&width=300&q=80');
}

.team-member:hover .member-img {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Specific placeholders for variety */
.team-member:nth-child(2) .member-img {
    background-image: url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&width=300&q=80');
}

.team-member:nth-child(3) .member-img {
    background-image: url('https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&width=300&q=80');
}

.team-member:nth-child(4) .member-img {
    background-image: url('https://images.unsplash.com/photo-1534528741775-53994a69daeb?ixlib=rb-1.2.1&width=300&q=80');
}

.team-member.placeholder-member .member-img {
    background-color: #f0f0f0;
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    border: 2px dashed var(--primary-color);
}

.team-member h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}


/* Project Details Page Styles */
.project-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-attachment: fixed;
    margin-top: 0;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .project-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.project-desc-col h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.project-desc-col p {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.project-meta-col {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.meta-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.meta-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.meta-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-item p {
    color: #333;
    font-weight: 600;
    margin: 0;
}

.project-gallery-section {
    padding-bottom: 80px;
}

.gallery-grid {
    display: block;
    column-count: 3;
    column-gap: 20px;
}

@media (max-width: 900px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        column-count: 1;
    }
}

.gallery-grid img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: block;
    break-inside: avoid;
}

.gallery-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}


/* Team Section Styles */
.team-section {
    background: linear-gradient(135deg, #1B262C 0%, #0F4C75 100%);
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Enforce fixed circular image size for ALL team members equally */
.member-img {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-member h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.team-member p {
    color: #BBE1FA;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Mobile Navigation Styles
   ========================================================================== */

/* Hamburger Icon Styles */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1001;
}

.hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile responsive styles */
@media (max-width: 992px) {

    /* Show the hamburger icon */
    .hamburger {
        display: flex;
    }

    /* Hide Desktop Navigation Initially */
    .desktop-nav {
        display: flex !important;
        position: fixed;
        right: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
        width: 100vw;
        height: 100vh;
        text-align: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        padding-top: 100px;
        box-shadow: -10px 0 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .desktop-nav.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .nav-btn {
        margin-top: 20px;
    }

    /* Hamburger Animation to 'X' */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Prevent body scrolling when menu is open */
    .no-scroll {
        overflow: hidden;
    }
}

/* Mobile Hero - Landscape view so videos fit fully on phone screens */
@media (max-width: 992px) {
    .hero {
        height: 56.25vw;
        /* 16:9 landscape aspect ratio */
        min-height: 300px;
        max-height: 600px;
    }

    .hero-slider,
    .slide {
        height: 100%;
        align-items: flex-end;
        /* push content to bottom */
    }

    .bg-video {
        min-width: 100%;
        min-height: 100%;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .hero-content {
        padding: 0 16px 20px;
        /* bottom padding so text sits near the base */
    }

    /* Hide slider arrows on mobile */
    .slider-btn {
        display: none;
    }

    .hero h1 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }

    .hero p {
        font-size: 0.8rem;
        margin-bottom: 16px;
    }

    /* Hide paragraph text and button inside hero slides on mobile */
    .hero-content p,
    .hero-content .btn {
        display: none;
    }

    /* Smaller slider dots on mobile */
    .dot {
        width: 6px;
        height: 6px;
    }

    .slider-dots {
        gap: 6px;
        bottom: 10px;
    }
}

/* ==========================================================================
   Modern Footer Styles
   ========================================================================== */
.main-footer {
    background-color: #0b2239; /* Deep, rich blue-black */
    color: #e2e8f0;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-col h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(15, 76, 117, 0.5);
    border-color: var(--primary-color);
}

.newsletter-col h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.newsletter-col p {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.footer-newsletter {
    display: flex;
    max-width: 400px;
    position: relative;
}

.footer-newsletter input {
    width: 100%;
    padding: 16px 20px;
    padding-right: 65px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.footer-newsletter input::placeholder {
    color: #94a3b8;
}

.footer-newsletter input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(15, 76, 117, 0.4);
}

.footer-newsletter button {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-newsletter button:hover {
    background: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(15, 76, 117, 0.5);
}

.main-footer hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer-copyright {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================================================
   Modern Team Page Styles
   ========================================================================== */
.page-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
    margin-top: 80px; /* Offset for fixed header */
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.page-hero p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.team-section {
    background-color: #f8fafc;
    position: relative;
    padding: 100px 0;
}

.team-exec {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.exec-member {
    max-width: 450px;
    width: 100%;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    z-index: 0;
    transition: height 0.4s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.exec-member:hover {
    transform: scale(1.05) translateY(-10px);
}

.team-member:hover::before {
    height: 140px;
}

.member-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    padding: 6px;
    background: #ffffff;
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
    margin-top: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.team-member:hover .member-img {
    transform: scale(1.08);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-info {
    position: relative;
    z-index: 1;
}

.team-member h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-member p {
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* ==========================================================================
   Creative Hub Banner Styles
   ========================================================================== */
.creative-hub-banner {
    padding: 20px 0 60px 0;
    background-color: transparent;
}

.hub-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 40px rgba(15, 76, 117, 0.2);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.hub-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hub-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: 180px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hub-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hub-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.hub-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hub-content .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

.hub-content .btn-primary:hover {
    background: #f8fafc;
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hub-icon-wrapper {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: #ffffff;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.hub-card:hover .hub-icon-wrapper {
    transform: scale(1.05) rotate(-5deg);
}

@media (max-width: 768px) {
    .hub-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .hub-icon-wrapper {
        display: none;
    }

    .hub-content h2 {
        font-size: 2rem;
    }
}

/* Floating Software Tags Background */
.floating-software {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 18px;
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    animation: floatDrift 20s infinite alternate ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.floating-software img {
    display: block;
    object-fit: contain;
}

/* Individual Tag Positioning & Animation delays */
.tag-1 { top: 15%; left: 5%; animation-duration: 22s; animation-delay: 0s; }
.tag-2 { top: 75%; left: 10%; animation-duration: 18s; animation-delay: -5s; }
.tag-3 { top: 10%; right: 20%; animation-duration: 25s; animation-delay: -10s; }
.tag-4 { top: 60%; right: 5%; animation-duration: 20s; animation-delay: -2s; }
.tag-5 { top: 85%; right: 30%; animation-duration: 19s; animation-delay: -7s; }
.tag-6 { top: 30%; left: 45%; animation-duration: 24s; animation-delay: -12s; }
.tag-7 { top: 45%; right: 40%; animation-duration: 21s; animation-delay: -15s; }

@keyframes floatDrift {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    33% { transform: translateY(-25px) translateX(15px) rotate(3deg); }
    66% { transform: translateY(15px) translateX(-20px) rotate(-2deg); }
    100% { transform: translateY(0) translateX(0) rotate(0deg); }
}