/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Poppins', sans-serif; 
    font-weight: 300; /* Light weight for body */
    color: #333; 
}

/* Create a standard container to hold all content */
.container {
    max-width: 1200px; /* Or whatever width feels right for your design */
    margin: 0 auto;    /* Centers the content */
    padding: 0 50px;   /* Matches the 50px you used in your header */
}

/* Apply this consistent padding to all main sections */
.intro-section, 
.services-section, 
#featured-works {
    padding: 80px 50px; /* Use the same 50px side padding as your header */
}

/* The initial hidden state for REVEAL */
.reveal-section {
    opacity: 0;
    transform: translateY(30px); /* Slight slide up effect */
    transition: opacity 0.8s ease-out 0.5s, transform 0.8s ease-out 0.5s; /* 0.5s wait before the 0.8s animation starts */
}

/* The state once it scrolls into view */
.reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- NAVIGATION FIX --- */
/* Remove .nav-menu a from the h1/h2 group below */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a {
    font-family: 'Poppins', sans-serif;
    font-weight: 300; /* Light weight */
    /*text-transform: lowercase;*/
    letter-spacing: 0.5px;
    color: #fff;
    text-decoration: none;
}

h1, h2, h3, .nav-menu a {
    font-family: 'Poppins', sans-serif;
    font-weight: lighter; /* Sturdy but clean */
    /*text-transform: uppercase;*/
    letter-spacing: 1px;
}

/* 3. The Accent Serif (Abril Fatface Italic) */
.accent-serif {
    font-family: 'Abril Fatface', serif;
    font-weight: 100;
    font-style: italic; /* Abril Fatface doesn't have an italic file, so we use browser-styled italics */
    text-transform: none; 
    display: inline-block;
    /* Optional: slightly larger to match the visual weight of the header */
    font-size: 1em; 
}

/* Hero Header Styling */
.hero .hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    text-transform: none;
    font-size: 6rem !important; /* Forces the size to override any competing rules */
    margin: 0;
}

/* Hero Paragraph Styling */
.hero .hero-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem !important;
    font-weight: lighter;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero .hero-content h1 {
        font-size: 3.5rem !important; /* Smaller size for mobile tablets and phones */
        line-height: 1.1;
    }

    .hero .hero-content p {
        font-size: 1rem !important; /* Readable scale for mobile subheadings */
    }
}

/* --- Header Base --- */
#main-header {
    position: fixed;
	top: 0;
	width: 100%;
	height: 100px;
    display: flex;
	justify-content: space-between;
	align-items: center;
    padding: 0 50px;
	z-index: 1000;
	transition: all 0.4s ease;
}

#main-header {
    /* Base header styling */
    transition: background-color 0.4s ease, height 0.4s ease;
    height: 90px; /* Or your original height */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

#main-header.scrolled {
    /* Combined settings */
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 70px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ---NAME LOGO--- */
#logo-img {
	height: 90px; transition: 0.4s;
}
#main-header.scrolled #logo-img {
	height: 60px;
}

.logo a {
	display: block;
}

/* --- 1. Navigation Base --- */
.nav-menu ul {
	display: flex;
	list-style: none;
	gap: 30px;
	align-items: center;
}

.nav-menu a {
    text-decoration: none !important;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 300; 
    /*text-transform: lowercase;*/
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}

/* --- 2. Correct Underline (Only for main links, not dropdown or button) --- */
.nav-menu > ul > li > a:not(.contact-btn)::after
{
    content: '';
	position: absolute;
	bottom: 0;
	left: 0;
    width: 0%;
	height: 2px;
	background-color: #fff;
    transition: width 0.4s ease;
}
.nav-menu > ul > li > a:not(.contact-btn):hover::after {
	width: 100%;
}

/* --- 3. Scrolled State (Color change) --- */
#main-header.scrolled .nav-menu a
{ color: #333;
}
#main-header.scrolled .nav-menu > ul > li > a:not(.contact-btn)::after {
	background-color: #333;
}

/* --- 4. Dropdown Logic --- */
.dropdown { position: relative; }
.dropdown-menu {
    display: none;
	position: absolute;
	top: 100%; left: 0;
    background: #fff;
	padding: 15px;
	min-width: 160px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
	transition: opacity 0.3s ease;
}
.dropdown:hover .dropdown-menu {
	display: block;
	opacity: 1;
}
.dropdown-menu a {
	color: #333 !important;
	display: block;
	padding: 5px 0; }
.dropdown-menu a:hover {
	color: #888 !important;
}

/* --- 5. Contact Button (Pill Styling) --- */
.contact-btn {
    padding: 10px 25px;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
}
.contact-btn:hover {
	background-color: #fff;
	color: #1c75bd;
	border: 2px solid #fff;
}

/* --- 6. Scrolled State for Contact Button --- */
nav.scrolled .contact-btn {
	border: 2px solid #000000;
	color: #000000;
}
nav.scrolled .contact-btn:hover {
	background-color: #000000;
	color: #ffffff !important;
}

/* Apply underline animation to dropdown menu links */
.dropdown-menu a::after {
    content: ''; 
    position: absolute; 
    bottom: 5px; /* Adjust this to fit your dropdown padding */
    left: 0;  /* Matches your dropdown padding */
    width: 0%; 
    height: 2px; 
    background-color: #000;
    transition: width 0.4s ease;
}

.dropdown-menu a:hover::after { 
    width: calc(100% - 30px); /* Keeps the line within the dropdown width */
}

/* --- Mobile --- */
.hamburger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
}
.bar {
	display: block;
	width: 25px;
	height: 3px;
	background: #fff;
	margin: 5px;
	transition: 0.3s;
}

#main-header.scrolled .bar {
	background: #333;
}

/* Ensure mobile menu links stay white regardless of header scroll state */
#main-header.scrolled .nav-menu.active a {
    color: #fff !important; /* links in the mobile slide out tray*/
}

/* Ensure mobile menu link underlines stay white or gold (depending on preference) */
#main-header.scrolled .nav-menu.active a:not(.contact-btn)::after {
    background-color: #fff !important;
}

/* When the mobile menu is open, override the 'scrolled' button styles */
#main-header.scrolled .nav-menu.active .contact-btn {
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
}

/* Ensure the hover state also stays consistent with the white theme */
#main-header.scrolled .nav-menu.active .contact-btn:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

@media (max-width: 768px) {
	/* Disable the hover-to-show behavior on mobile */
    .dropdown:hover .dropdown-menu {
        display: none !important;
    }

    /* Keep the click-to-show behavior */
    .dropdown.show .dropdown-menu {
        display: block !important;
    }
	
    /* 1. Hamburger */
    .hamburger {
		display: block;
		z-index: 2000;
	}

    /* 2. Nav Container BG */
    .nav-menu { 
        position: fixed;
		top: 0; right: -100%;
		width: 100%; height: 100vh; 
        background: rgba(28, 117, 189, 0.65);
        backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
        display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
        transition: 0.4s;
    }
	  /* Ensures the blur and semi-transparent background stay active when open, regardless of scroll state */
    #main-header.scrolled .nav-menu.active {
        background: rgba(28, 117, 189, 0.85) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
    }
    .nav-menu.active {
		right: 0;
	}

/* 3. List and Links */
    .nav-menu ul {
		flex-direction: column;
		gap: 20px;
	}
    
    .nav-menu ul li a {
		position: relative;
		display: block;
	}

    /* Apply underline ONLY to links that are NOT the contact button AND NOT the dropdown toggle */
    .nav-menu ul li a:not(.contact-btn):not(.dropdown > a)::after {
        content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 0%;
		height: 2px;
        background-color: #fff;
		transition: width 0.4s ease;
    }
    .nav-menu ul li a:not(.contact-btn):not(.dropdown > a):hover::after {
		width: 100%;
	}

/* 4. Dropdown & Indicator Logic */
    
    /* Make link a flexbox container */
    .nav-menu .dropdown > a {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Arrow styling */
    .nav-menu .dropdown > a::after {
        content: " ▼" !important;
        color: #ffffff !important;
        font-size: 0.4rem !important;
        margin-left: 8px !important;
        display: inline-block !important;
        position: static !important;
        background-color: transparent !important;
        width: auto !important;
        transition: transform 0.3s ease !important;
    }

    .nav-menu .dropdown.show > a::after {
        transform: rotate(180deg) !important;
    }

    /* FORCE VISIBILITY: Targets the dropdown-menu when the parent is active */
    .nav-menu.active .dropdown.show .dropdown-menu { 
        display: block !important; 
        opacity: 1 !important;
        visibility: visible !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        padding-top: 10px !important;
        text-align: center;
    }

    /* Ensure sub-links themselves are forced visible */
    .nav-menu.active .dropdown.show .dropdown-menu li {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-menu.active .dropdown.show .dropdown-menu li a {
        display: block !important;
        color: #fff !important;
        padding: 10px 0 !important;
        background: transparent !important;
        opacity: 1 !important;
    }
	
    /* 5. Hamburger Animation */
    .hamburger.active .bar:nth-child(2) {
		opacity: 0;
	}
    .hamburger.active .bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
    .hamburger.active .bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}
    .hamburger.active .bar {
		background-color: #fff !important;
	}
}

/* ---HERO--- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-media video, .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps aspect ratio while filling */
}

.hero-content {
    position: absolute;
    bottom: 20%;    /* Moves it up: 25% from the bottom instead of 50px */
    left: 80px;
    z-index: 2;
    color: #ffffff;
    max-width: 700px; /* Slightly wider to accommodate larger text */
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem); /* Responsive: starts at 3rem, grows with screen */
    line-height: 1;
    margin-bottom: 15px;
    font-weight: 400; /* Keeps it elegant */
	color: #fff;
}

.hero-content p {
    font-size: clamp(1.2rem, 2vw, 1.8rem); /* Scales nicely with the heading */
    font-weight: 300;
	color: #fff;
    opacity: 0.9;
}

/* Optional: Add a subtle overlay for text readability */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    z-index: 1;
}

.intro-section {
    padding: 100px 50px;
    background-color: #ffffff;
}

/* ---INTRO--- */

.intro-section {
    padding: 90px 0;
    background-color: #fafbfc; /* Gives the section a subtle off-white background block */
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.1fr 1fr; /* Slightly wider heading column */
    gap: 60px;
    align-items: center;
}

.intro-header {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 300; /* Keeps your light style */
    color: #112233;
    line-height: 1.15;
    margin: 0;
    text-transform: none !important;
}

.intro-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .intro-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================
   LATEST WORK SECTION (Split Screen Carousel)
   ========================================== */

#latest-work {
    background-color: #fff;
    width: 100%;
    overflow: hidden;
}

.latest-work-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
}

/* Left Side Image Frame */
.latest-work-slider-container {
    position: relative;
    width: 100%;
    height: 550px; /* Locked height so it never collapses */
    background-color: #112233; /* Fallback color if image loads slow */
}

.work-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.work-image.active {
    opacity: 1;
}

/* Floating Control Bar Overlay on Image */
.latest-control-bar {
    position: absolute;
    bottom: 30px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 25px; /* Spreads out the arrows and dots */
    /*background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);*/
    padding: 10px 20px;
    border-radius: 30px;
    color: #fff;
    z-index: 10;
}

.latest-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
    line-height: 1;
}

.latest-btn:hover {
    opacity: 0.7;
}

/* Pagination Dots Container */
.latest-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot {
    width: 9px;
    height: 9px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: #1c75bd; /* Your Refresh Blue for the active dot */
    transform: scale(1.1);
}

/* Right Side Text Container */
.latest-text-container {
    padding: 80px 10% 80px 8%;
    background-color: #fff;
}

.latest-text-slider {
    position: relative;
    min-height: 240px;
}

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

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

.text-slide h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2.0rem);
    font-weight: 400;
	text-transform: none;
    color: #112233;
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-slide p {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid #112233;
    color: #112233;
    font-weight: 600;
    text-transform: none;
    font-size: 0.85rem;
    /*letter-spacing: 1px;*/
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #1c75bd;
    border-color: #1c75bd;
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .latest-work-wrapper {
        grid-template-columns: 1fr;
    }
    .latest-work-slider-container {
        height: 350px;
    }
    .latest-text-container {
        padding: 50px 20px;
    }
}

/* ==========================================
   FEATURED SERVICES GRID (Clean 4-Card Layout)
   ========================================== */

#featured-services {
    padding: 80px 0;
    background-color: #f8f9fa; /* Clean light background contrast */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 0; /* Creates the seamless touching borders look from your example */
    /*border: 1px solid #e0e0e0;*/
    background-color: #fff;
}

.service-card {
    background-color: #fff;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease-in-out;
}

/* Remove right border for the last item in a 4-column row */
.service-card:nth-child(4n) {
    border-right: none;
}

/* Hover Effect: Lifts the card, brings it forward with a subtle shadow */
.service-card {
    background-color: #fff;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.service-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3); 
    z-index: 10;
    border-color: transparent;
}

/* Icon Container */
.service-icon {
    width: 70px;
    height: 70px;
    background-color: #1c75bd; /* Your Refresh Blue */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: #115b97; /* Slightly deeper blue on hover */
}

/* Typography */
.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    color: #222;
}

.service-card p {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Optional Read More Link */
.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1c75bd;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 1px;
}

.service-link:hover {
    text-decoration: underline;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */

/* Tablet View: 2x2 Grid */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card:nth-child(2n) {
        border-right: none; /* Remove right border on every 2nd item */
    }
}

/* Mobile View: Single Column Stack */
@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        border-right: none;
    }
}

/* ==========================================
   DIVISION COLOR MAPPINGS FOR SERVICES
   ========================================== */

/* 1. CONNECT (Teal) */
.service-card.connect-card .service-icon {
    background-color: #23989c;
}
.service-card.connect-card .service-link {
    color: #23989c;
}

/* 2. PROTECT (Coral / Orange) */
.service-card.protect-card .service-icon {
    background-color: #e57350;
}
.service-card.protect-card .service-link {
    color: #e57350;
}

/* 3. CYBER (Dark Navy Blue) */
.service-card.cyber-card .service-icon {
    background-color: #1a3a4b;
}
.service-card.cyber-card .service-link {
    color: #1a3a4b;
}

/* 4. VOICE (Deep Burgundy / Maroon) */
.service-card.voice-card .service-icon {
    background-color: #611532;
}
.service-card.voice-card .service-link {
    color: #611532;
}

/* TESTIMONIALS - Parallax Section */
#testimonials.parallax-bg {
    background-image: url('../images/testimonial-bg.jpg'); /* Points to your actual image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates the parallax effect */
    position: relative;
    padding: 100px 0; /* Expanded padding for a nice editorial feel */
    width: 100%;
    text-align: center;
}

/* Dark blue tint overlay so white text remains readable over your photo */
#testimonials.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 117, 189, 0.35); /* Your Refresh blue tint */
    z-index: 1;
}

/* Ensure container/slider sits above the color overlay */
#testimonials .container {
    position: relative;
    z-index: 2;
}

.quote { 
    font-family: 'Georgia', serif; 
    font-style: italic; 
    font-size: 1.4rem; 
    margin-bottom: 30px;
	margin-top: 70px;
    color: #fff;
}

.name { font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #FEA05E;
}
.location {
	font-size: 0.8rem;
	opacity: 0.6;
	color: #E5E5E5;
}

/* Swiper Controls */
.swiper-button-next, .swiper-button-prev { color: #fff !important; }

/* Position the arrows at the bottom */
.swiper-button-next, 
.swiper-button-prev {
    top: auto !important; /* Remove the centering */
    bottom: 0px !important; /* Move to the bottom */
    width: 40px !important;
    height: 40px !important;
}

/* Push the 'next' arrow to the right and 'prev' to the left */
.swiper-button-next {
	right: calc(50% - 80px) !important;
}
.swiper-button-prev {
	left: calc(50% - 80px) !important;
}

/* Ensure the slider has enough bottom padding so arrows don't cover the text */
.testimonial-slider {
    padding-bottom: 60px !important;
}

/* Container for the controls */
.control-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Increase this to push arrows further apart */
    margin-top: 30px;
}

/* --- 2. Change Dot (Pagination) Colors --- */
/* Inactive dots */
.swiper-pagination-bullet {
    background: #fff !important; /* Default dot color */
    opacity: 1 !important;         /* Ensure they are visible */
}

/* Active (selected) dot */
.swiper-pagination-bullet-active {
    background: #115b97 !important; /* Your desired active dot color */
}

/* Smaller arrows */
.swiper-button-next, 
.swiper-button-prev {
    position: static !important;
    width: 20px !important; /* Smaller size */
    height: 20px !important;
    margin: 0 !important;
    /* Optional: Scale the icon down if it's too thick */
    transform: scale(0.6); 
}

/* Force the arrows to behave */
.swiper-button-next, 
.swiper-button-prev {
    position: static !important; /* Forces them out of absolute positioning */
    margin: 0 !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important; /* Ensures the icon inside stays centered */
    align-items: center;
    justify-content: center;
}

/* Ensure pagination respects the flex row */
.swiper-pagination {
    position: static !important;
    width: auto !important;
}

.credits { font-size: 0.7rem; opacity: 0.5; margin-top: 10px; }

/* Responsive Mobile Stacking */
@media (max-width: 768px) {
    .footer-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

/* LOGO SCROLLER */
.logo-scroller {
    width: 100%;
    overflow: hidden; /* Hides the duplicate set while off-screen */
    padding: 40px 0;
    background: #f8f8f8;
    /* Optional: Subtle gradient mask for a premium feel */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.scroller-track {
    display: flex;
    gap: 80px; /* Space between logos */
    animation: scroll 30s linear infinite;
    width: max-content; /* Ensures track is as wide as the logos */
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Moves exactly one set-width */
}

/* Optional: Pause on hover for a nice interactive touch */
.logo-scroller:hover .scroller-track {
    animation-play-state: paused;
}

/* Style the logos */
.scroller-track img {
    height: 50px; /* Adjust to match your logo size */
    opacity: 0.3; /* Quiet Luxury: logos look better slightly muted */
    transition: opacity 0.3s ease;
}

.scroller-track img:hover {
    opacity: 1; /* Brighten on hover */
}

/* CONTACT SECTION */

#contact-section {
	padding: 100px 50px;
	background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info takes less space than the form */
    gap: 80px;
    align-items: flex-start;
}

.contact-icon {
	width: 50px;
	margin-bottom: 5px;
}

/* Form Styling */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}

.submit-btn {
    padding: 15px 40px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
	background: #1c75bd;
	color: #fff;
}

/* Mobile Stacked View */
@media (max-width: 768px) {
    .contact-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

/* FOOTER */
#main-footer {
    background-color: #1c75bd; /* Dark Charcoal */
    color: #ffffff;
    padding: 60px 0;
    margin-top: 5px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
    text-align: center;
}

.footer-logo { width: 200px; }

.footer-col a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Responsive Footer: Stacking on mobile */
@media (max-width: 768px) {
    .footer-grid {
        /* This switches the 3-column grid to a single column */
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    /* Optional: Add extra space between elements if they feel too tight */
    .footer-col {
        margin-bottom: 10px;
    }
}

/* --- SUBPAGE HERO BANNER --- */
.subpage-hero {
    position: relative;
    width: 100%;
    height: 450px;
   	background-color: #112233; /* Fallback dark color or change to background-image */
    background-image: url('../images/about-hero.jpg');
    background-size: cover;
    background-position: center;
    margin-top: 0; 
}

/* Positions the content in the lower left corner */
.subpage-hero .hero-content {
    position: absolute;
    bottom: 40px;
    left: 5%; /* Aligns nicely with your container margins */
    max-width: 800px;
    text-align: left;
    padding: 0 20px;
}

.subpage-hero .hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 2.0vw, 2rem);
    font-weight: 300;
    color: #ffffff;
	text-transform: none;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.subpage-hero .hero-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #d0d8e0;
    font-weight: 300;
    margin: 0;
}

/* --- ALTERNATING CONTENT ROWS --- */
.about-main-content {
    padding: 100px 0;
    background-color: #ffffff;
}

.content-row {
    margin-bottom: 80px;
}

.content-row:last-child {
    margin-bottom: 0;
}

.row-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Image box styling */
.row-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #e2e8f0; /* Fallback gray box color matching your mockup */
}

/* Text box styling */
.row-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 200;
	text-transform: none;
    color: #112233;
    margin-bottom: 20px;
}

.row-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.7;
}

/* Flips the direction for the second row */
.content-row.alt-direction .row-grid {
    grid-template-columns: 1fr 1fr;
}

.content-row.alt-direction .row-text {
    order: 1;
}

.content-row.alt-direction .row-image {
    order: 2;
}

/* --- RESPONSIVE MOBILE ADJUSTMENTS --- */
@media screen and (max-width: 768px) {
    .subpage-hero {
        height: 350px;
    }
    
    /* Change the row grid into a vertical flex container on mobile */
    .row-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    /* Force the image container to ALWAYS be first in the stack for every row */
    .row-image {
        order: 1 !important;
    }

    /* Force the text container to ALWAYS be second in the stack for every row */
    .row-text {
        order: 2 !important;
    }
    
    .row-image img {
        height: 250px !important;
    }
}

/* --- MINIMAL CENTRED CONTACT SECTION --- */
.minimal-contact-section {
    padding: 120px 20px;
    background-color: #fafbfc; /* Extremely subtle light gray background */
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Header Text & Thin Line */
.contact-header {
    margin-bottom: 50px;
}

.contact-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #112233; /* Brand blue accent */
    display: block;
    margin-bottom: 10px;
    font-weight: 400;
}

.contact-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 300;
    color: #112233;
    margin-bottom: 20px;
}

.header-divider {
    width: 50px;
    height: 1px;
    background-color: #cbd5e1; /* Thin subtle line */
    margin: 0 auto 20px auto;
}

.contact-header p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    color: #64748b;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Iconography Info Bar */
.contact-info-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #475569;
}

.info-item i {
    color: #112233; /* Brand blue icon accent */
    font-size: 1rem;
}

.info-divider {
    width: 1px;
    height: 16px;
    background-color: #cbd5e1;
}

/* Minimal Form Styling (Matching Homepage Inputs) */
.minimal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0; /* Subtle gray border */
    border-radius: 4px;
    color: #1e293b;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
    font-weight: 300;
}

/* Focus state using your brand blue accent */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #112233;
    box-shadow: 0 0 0 2px rgba(17, 34, 51, 0.05);
}

.form-submit {
    text-align: center;
    margin-top: 10px;
}

.submit-btn {
    font-family: 'Poppins', sans-serif;
    background-color: #112233; /* Brand blue */
    color: #ffffff;
    border: none;
    padding: 16px 45px;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #1d75bc;
}

/* Responsive Mobile Layout */
@media screen and (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .info-divider {
        display: none; /* Hide vertical dividers on mobile stack */
    }
}







