/* General Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #444;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 30px;
    overflow: hidden;
}

/* Header & Nav */
header {
    background: #002b5c; /* Navy Blue */
    color: #fff;
    padding-top: 20px;
    min-height: 70px;
    border-bottom: 3px solid #00a8e8; /* Ocean Blue */
    position: relative; /* Create a stacking context */
    z-index: 1000;      /* Ensure it's on top of other content */
}

header a {
    color: #fff;
}

header .branding {
    float: left;
}

header .branding h1 {
    margin: 0;
    font-size: 24px;
}

header nav {
    float: right;
    margin-top: 5px;
}

header nav li {
    display: inline;
    padding: 0 15px;
}

header nav a:hover,
header nav a.active {
    color: #00a8e8;
    font-weight: bold;
}

/* Transparent Header for Home Page */
header.hero-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-bottom: none;
    z-index: 1000; /* Ensure it's above other content, like carousel controls */
    transition: background-color 0.3s ease;
}

header.hero-header.scrolled {
    background: #002b5c;
    border-bottom: 3px solid #00a8e8;
}

/* Hero Section */
.hero {
    background: #333; /* Fallback */
    background: linear-gradient(rgba(0, 43, 92, 0.8), rgba(0, 43, 92, 0.8)), url('https://via.placeholder.com/1200x600?text=Maritime+Consulting');
    background-size: cover;
    background-position: center;
    height: 100vh;
    padding-top: 80px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.btn-primary {
    display: inline-block;
    background: #00a8e8;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    margin-top: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 168, 232, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #008dc4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 232, 0.6);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #333;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    padding-top: 80px;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover, .carousel-next:hover {
    background: rgba(0, 168, 232, 0.8);
}

.carousel-prev { left: 30px; }
.carousel-next { right: 30px; }

@media (max-width: 768px) {
    .carousel-prev { left: 10px; }
    .carousel-next { right: 10px; }
    .carousel-slide h1 { font-size: 2rem; }
}

/* Page Banner */
.page-banner {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.page-banner h1 {
    font-size: 3rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Main Content Sections */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background: #fff;
}

.why-choose-us {
    background-image: linear-gradient(rgba(0, 43, 92, 0.8), rgba(0, 43, 92, 0.8)), url('https://via.placeholder.com/1920x1080?text=Ocean+Background');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.why-choose-us .section-title {
    color: #fff;
}

.why-choose-us .card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-align: center;
    transition: all 0.3s ease;
}

.why-choose-us .card i {
    font-size: 3rem;
    color: #00a8e8;
    margin-bottom: 20px;
}

.why-choose-us .card h3 {
    color: #fff;
}

.why-choose-us .card p {
    color: #ddd;
}

.why-choose-us .card:hover {
    background: #fff;
    transform: translateY(-10px);
}

.why-choose-us .card:hover h3 {
    color: #002b5c;
}

.why-choose-us .card:hover p {
    color: #555;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 40px 30px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card h3 {
    color: #002b5c;
    margin-top: 0;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: #002b5c;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #00a8e8;
    border-radius: 2px;
}

/* About Section */
.about-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
}

/* Stats Section */
.stat-item {
    background: #fff;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    color: #00a8e8;
}

/* Process Section */
.process-step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-number {
    background: linear-gradient(135deg, #002b5c, #00a8e8);
    color: #fff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 43, 92, 0.3);
}

/* Testimonials */
.testimonial {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    border-top: 5px solid #00a8e8;
    border-left: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.testimonial p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.testimonial strong {
    display: block;
    font-style: normal;
    color: #002b5c;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 43, 92, 0.8), rgba(0, 43, 92, 0.8)), url('image3.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

/* Team Section */
.team-card {
    text-align: center;
}

.team-img-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #00a8e8;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-social {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 43, 92, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-img-wrapper:hover .team-social {
    opacity: 1;
}

.team-img-wrapper:hover .team-img {
    transform: scale(1.1);
}

.team-social a {
    color: #fff;
    margin: 0 8px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.team-social a:hover {
    color: #00a8e8;
}

.role {
    color: #00a8e8;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: #002b5c;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #00a8e8;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #00a8e8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Redesigned Dropdown Menu Styles */
header nav ul li.dropdown-parent {
    position: relative;
}

/* Arrow for dropdown */
header nav ul li.dropdown-parent > a {
    position: relative;
    padding-right: 30px; /* Make space for the arrow */
}

header nav ul li.dropdown-parent > a::after {
    content: '';
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    position: absolute;
    right: 15px;
    top: 40%;
    transition: all 0.2s ease;
}

header nav ul li.dropdown-parent > a.active::after,
header nav ul li.dropdown-parent:hover > a::after {
    border-color: #00a8e8;
}

header nav ul li.dropdown-parent:hover > a::after {
    transform: rotate(225deg);
    top: 45%;
}

header nav ul .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    background-color: #ffffff;
    min-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-radius: 8px;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-top: 10px; /* Add space between nav and dropdown */
}

header nav ul li.dropdown-parent:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

header nav ul .dropdown-menu li {
    display: block;
    padding: 0;
}

header nav ul .dropdown-menu li a {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

header nav ul .dropdown-menu li a i {
    font-size: 1.8rem;
    color: #00a8e8;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

header nav ul .dropdown-menu li a:hover {
    background-color: #f7f9fa;
}

header nav ul .dropdown-menu li a:hover i {
    transform: scale(1.1);
}

header nav ul .dropdown-menu li a div {
    /* Wrapper for text */
}

header nav ul .dropdown-menu li a strong {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: #002b5c;
    margin-bottom: 2px;
    transition: color 0.2s ease;
}

header nav ul .dropdown-menu li a:hover strong {
    color: #00a8e8;
}

header nav ul .dropdown-menu li a span {
    display: block;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    font-weight: 400;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    margin-top: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    header nav {
        display: none; /* Hidden by default on mobile */
        float: none;
        width: 100%;
        text-align: center;
        margin-top: 15px;
        font-family: 'Arial', sans-serif; /* Example: Change mobile nav font here */
    }

    header nav.active {
        display: block;
    }

    header nav li {
        display: block;
        padding: 10px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    header nav ul li.dropdown-parent > a {
        padding-right: 15px; /* Reset padding */
    }

    header nav ul li.dropdown-parent > a::after {
        /* Re-enable arrow for mobile dropdown functionality */
        display: inline-block;
        top: 18px;
        right: 20px;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
    }

    header nav ul li.dropdown-parent.open > a::after {
        transform: rotate(225deg);
        top: 21px;
    }

    header nav ul li.dropdown-parent:hover .dropdown-menu {
        /* Prevent desktop hover behavior on mobile */
        transform: none;
    }

    header nav ul .dropdown-menu {
        display: none; /* Hide by default, toggle with JS */
        position: static;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 0;
        min-width: 100%;
        padding: 0;
        /* Overrides for new desktop animation styles */
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    header nav ul li.dropdown-parent.open .dropdown-menu {
        display: block;
    }

    header nav ul .dropdown-menu li a {
        display: block;
        padding: 10px 20px;
        color: #ccc;
        font-weight: normal;
        background-color: transparent;
    }

    header nav ul .dropdown-menu li a:hover {
        color: #00a8e8;
        background-color: transparent;
    }

    header nav ul .dropdown-menu li a i {
        display: none; /* Hide icons on mobile */
    }

    header nav ul .dropdown-menu li a span {
        display: none; /* Hide description on mobile */
    }
}

/* --- New Styles for Index 2 (Animated & Visual) --- */

/* Animated Gradient Hero */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-animated {
    background: linear-gradient(-45deg, #002b5c, #004e92, #00a8e8, #002b5c);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: -80px; /* Counteract header padding if needed, or just sit behind transparent header */
    padding-top: 80px;
}

.hero-content {
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.hero-overlay-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Visual Feature Rows (Alternating Layout) */
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.feature-text {
    flex: 1;
}

@media (max-width: 768px) {
    .feature-row, .feature-row:nth-child(even) {
        flex-direction: column;
    }
}

/* --- Redesigned Index 2 Styles --- */

/* Hero Video Section */
.hero-video {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: -80px; /* Adjust for transparent header */
    padding-top: 80px;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
}

.hero-video::after { /* Video overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 43, 92, 0.7);
    z-index: -1;
}

/* Service Cards */
.service-card {
    text-align: center;
    padding: 40px 20px;
}

.service-card i {
    font-size: 3.5rem;
    color: #00a8e8;
    margin-bottom: 25px;
    display: block;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1) rotate(-10deg);
}

.service-card h3 {
    font-size: 1.3rem;
}

.service-card a {
    color: #00a8e8;
    font-weight: bold;
    margin-top: 15px;
    display: inline-block;
}

/* Why Us Section */
.why-us-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.featurette {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.featurette i {
    font-size: 1.5rem;
    color: #00a8e8;
    margin-right: 20px;
    width: 30px;
}

/* Stats Section with Parallax */
.stats-section.parallax-bg {
    background-image: linear-gradient(rgba(0, 43, 92, 0.85), rgba(0, 43, 92, 0.85)), url('image3.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Testimonial Slider */
.testimonial-slider-wrapper {
    max-width: 800px;
    margin: auto;
    position: relative;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.testimonial-slider-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide-item {
    flex: 0 0 100%;
    width: 100%;
    padding: 50px;
    background: #fff;
    text-align: center;
}

.testimonial-slide-item p.quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-slide-item p.author {
    font-weight: bold;
    color: #002b5c;
}

.testimonial-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Wrapper for buttons */
}

.testimonial-controls button {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: #002b5c;
    pointer-events: all; /* Make buttons clickable */
}

.testimonial-controls button.prev {
    transform: translateX(-22px);
}
.testimonial-controls button.next {
    transform: translateX(22px);
}

.testimonial-controls button:hover {
    background: #00a8e8;
    color: #fff;
    border-color: #00a8e8;
}

/* Redesigned CTA */
.cta-redesigned {
    background: linear-gradient(45deg, #002b5c, #00a8e8);
    color: #fff;
    text-align: center;
    border-radius: 20px;
    padding: 80px 40px;
}

.cta-redesigned h2 {
    color: #fff;
    font-size: 2.5rem;
}

/* --- Founder Page Styles --- */
.founder-hero {
    display: flex;
    align-items: center;
    gap: 60px;
}

.founder-img-large {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-bottom: 5px solid #00a8e8;
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e9ecef;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #fff;
    border: 4px solid #00a8e8;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.2);
}

.timeline-item.right::after { left: -10px; }

.timeline-content {
    padding: 25px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-left: 4px solid #00a8e8;
}

.timeline-content:hover { transform: translateY(-5px); }

.timeline-date {
    color: #00a8e8;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Team Page Redesign --- */
.team-card-redesigned {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
    cursor: pointer;
}

.team-card-redesigned:hover {
    transform: translateY(-10px);
}

.team-card-img {
    width: 100%;
    height: 500px;
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card-redesigned:hover .team-card-img img {
    transform: scale(1.05);
}

.team-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 43, 92, 0.95) 20%, transparent);
    color: #fff;
    transform: translateY(calc(100% - 90px)); /* Show name and role */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card-redesigned:hover .team-card-content {
    transform: translateY(0);
}

.team-card-content h3 {
    color: #fff;
    margin: 0 0 5px;
    font-size: 1.8rem;
}

.team-social-redesigned {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.team-social-redesigned a {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.team-social-redesigned a:hover {
    color: #00a8e8;
}

@media screen and (max-width: 768px) {
    .founder-hero { flex-direction: column; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item.right { left: 0; }
    .timeline-item.left::after, .timeline-item.right::after { left: 21px; }
}

/* --- Redesigned About & Team Page Styles --- */
.team-category-title {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #002b5c;
    position: relative;
    padding-bottom: 15px;
}

.team-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #00a8e8;
    border-radius: 2px;
}

.cta-banner {
    text-align: center;
    padding: 60px 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bg-light .cta-banner {
    background-color: #fff;
}

/* --- Redesigned Stats Section for Index --- */
.stats-section-redesign {
    background: linear-gradient(rgba(0, 43, 92, 0.9), rgba(0, 43, 92, 0.9)), url('image3.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #fff;
    position: relative;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: #00a8e8;
}

.stat-card .icon-box {
    font-size: 2.5rem;
    color: #00a8e8;
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
}

.stat-card p {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}