/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Georgia", serif;
    padding-top: 90px; /* prevents overlap with fixed header */
    background: #f8f9fb;
}

/* ================= LINE 1 HEADER ================= */

.line-1 {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    background: #0f1c2e;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 1200px) 1fr;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

/* Scroll Shadow Effect */
.line-1.scrolled {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: rgba(15,28,46,0.95);
    backdrop-filter: blur(6px);
}

/* Sector 1b */
.sector-1b {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* ================= BRAND ================= */

.brand {
    color: #d4af37;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: default; /* no pointer */
    
}

.brand:hover {
    transform: none;
    text-shadow: none;
}

/* ================= NAV LINKS ================= */

.nav-links {
    display: flex;
    gap: 35px;
    position: relative;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.6px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

/* Premium Underline Animation */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #d4af37;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

.nav-links a:hover {
    color: #d4af37;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ================= HAMBURGER ================= */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.4s ease;
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* ================= MOBILE MENU ================= */

.mobile-menu {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background: #0f1c2e;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 40px 0;
    transform: translateY(-120%);
    transition: transform 0.5s ease;
    z-index: 999;
}

/* Premium Underline for Mobile */
.mobile-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #d4af37;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* Mobile Menu Links */
.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a:hover {
    color: #d4af37;
}

.mobile-menu a:hover::after {
    width: 100%;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .line-1 {
        height: 80px;
    }

    body {
        padding-top: 80px;
    }

    .sector-1b {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        position: relative;
    }

    /* Brand centered with no transform */
    .brand {
        grid-column: 2;
        justify-self: center;
        font-size: 1.4rem;
    }

    /* Hamburger stays right */
    .hamburger {
        display: flex;
        grid-column: 3;
        justify-self: end;
    }

    .mobile-menu {
        top: 80px;
    }
}

/* ================= LINE 2 (HERO) ================= */

.line-2 {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 1200px) 1fr;
    background-image: url("img_53.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid rgba(212,175,55,0.2);
    overflow: hidden;
}

/* Gradient Overlay */
.line-2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15,28,46,0.85) 0%,
        rgba(15,28,46,0.65) 35%,
        rgba(15,28,46,0.35) 55%,
        rgba(15,28,46,0.05) 75%,
        rgba(15,28,46,0) 100%
    );
    z-index: 1;
}

/* Sector 2b Layout */
/* Ensure content stays above overlay */
.sector-2b {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 80px 20px 0 20px;
}

/* ================= HERO TEXT ================= */

.hero-content {
    max-width: 520px;
    align-self: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: #ffffff;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 35px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid #d4af37;
    color: #d4af37;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Soft Glow Animation */
.cta-button::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 2px;
    background: radial-gradient(
        circle at center,
        rgba(212,175,55,0.5) 0%,
        rgba(212,175,55,0.2) 40%,
        rgba(212,175,55,0) 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    background: #d4af37;
    color: #0f1c2e;
}

.cta-button:hover::before {
    opacity: 1;
}

/* Subtle Breathing Effect */
@keyframes subtleGlow {
    0% { box-shadow: 0 0 0 rgba(212,175,55,0); }
    50% { box-shadow: 0 0 20px rgba(212,175,55,0.2); }
    100% { box-shadow: 0 0 0 rgba(212,175,55,0); }
}

.cta-button {
    animation: subtleGlow 4s ease-in-out infinite;
}

/* ================= HERO IMAGE ================= */

.hero-image {
    display: flex;
    align-items: flex-end;
}

.hero-image img {
    height: 520px;
    object-fit: contain;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-image img {
        height: 420px;
    }
}

@media (max-width: 768px) {

    .sector-2b {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 60px 20px 0 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image {
        margin-top: 40px;
    }

    .hero-image img {
        height: 380px;
    }

    .line-2::before {
        background: linear-gradient(
            180deg,
            rgba(15,28,46,0.85) 0%,
            rgba(15,28,46,0.75) 40%,
            rgba(15,28,46,0.6) 70%,
            rgba(15,28,46,0.4) 100%
        );
    }

}


/* ================= LINE 3 (TEAM) ================= */

.line-3 {
    width: 100%;
    padding: 80px 0 120px 0;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 1200px) 1fr;
    background: #0f1c2e;
}

/* Sector 3b */
.sector-3b {
    padding: 0 20px;
}

/* Heading */
.team-heading {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #d4af37;
    text-align: left;
}

/* Equal Width Layout */
.team-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Card Container (Glass Effect) */
.team-img-left,
.team-img-right {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 18px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Image Styling */
.team-img-left img,
.team-img-right img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

    .team-heading {
        font-size: 2.1rem;
    }

    .team-images {
        gap: 40px;
    }
}

@media (max-width: 768px) {

    .team-heading {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 50px;
    }

    .team-images {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ================= LINE 4 ================= */

.line-4 {
    width: 100%;
    padding: 120px 0;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 1200px) 1fr;
    background: #f8f9fb;
}

/* Wrapper */
.team-carousel-wrapper {
    position: relative;
    width: 100%;
}

/* Scroll Container */
.team-carousel {
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
}

/* Hide Scrollbar */
.team-carousel::-webkit-scrollbar {
    display: none;
}
.team-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Track */
.carousel-track {
    display: flex;
    gap: 40px;
}

/* Member Card */
.member-card {
    min-width: 320px;
    scroll-snap-align: center;
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

/* Image */
.member-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* Text */
.member-card h3 {
    font-size: 1.2rem;
    color: #0f1c2e;
    margin-bottom: 8px;
}

.member-card p {
    font-size: 0.95rem;
    color: #666;
}

/* ================= FADE EDGES ================= */

.team-carousel-wrapper::before,
.team-carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.team-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fb 0%, transparent 100%);
}

.team-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fb 0%, transparent 100%);
}

/* ================= ARROWS ================= */

.carousel-arrow:hover {
    background: #1a2c45;
}

.carousel-arrow.left {
    left: 0px;
}

.carousel-arrow.right {
    right: 0px;
}

/* Responsive */
@media (max-width: 768px) {

    .carousel-arrow {
        display: flex;
    }

    .member-card {
        min-width: 260px;
    }
}

/* ================= LINE 5 ================= */

.line-5 {
    width: 100%;
    padding: 120px 0;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 1200px) 1fr;
    background: #0f1c2e;
}

/* Sector 5b Layout */
.sector-5b {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 0 20px;
}

/* ================= CONTACT FORM ================= */

.contact-form {
    text-align: left;
}

.contact-form h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #d4af37;
}

/* Form Fields */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 14px 16px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s ease;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1px solid #d4af37;
}

/* Submit Button */
.contact-form button {
    margin-top: 10px;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #d4af37;
    color: #0f1c2e;
}

/* ================= ADDRESS ================= */

.contact-address {
    text-align: center;
}

.contact-address h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #d4af37;
}

.contact-address p {
    font-size: 1rem;
    line-height: 1.8;
    color: #ffffff;
}

/* Address */
.contact-address h2,
.contact-address p {
    text-align: center;
}



/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .sector-5b {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

	.contact-right {
        align-items: center;
	text-align: center;
    }

    .contact-form,
    .contact-address,.contact-social{
        text-align: center;
    }

	.contact-address h2,
    .contact-address p,
    .contact-social {
        text-align: center;
    }

	.social-icons {
        justify-content: center;
    }

}

/* ================= SOCIAL SECTION ================= */

.contact-social {
    margin-top: 60px;
    text-align: center;
}

.contact-social h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #d4af37;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.social-icons a:hover {
    background: #d4af37;
    color: #0f1c2e;
    border-color: #d4af37;
}

/* RIGHT COLUMN WRAPPER */
.contact-right {
    display: flex;
    flex-direction: column;
    align-items: center;   /* center entire column */
    text-align: center;    /* text centered */
    gap: 60px;
}

.contact-social {
    margin-top: 60px;
    text-align: center;
    width: 100%;
}


/* ================= LINE 6 ================= */

.line-6 {
    width: 100%;
    padding: 120px 0;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 1200px) 1fr;
    background: #f8f9fb;
}

/* Sector 6b */
.sector-6b {
    padding: 0 20px;
}

/* Heading */
.insights-heading {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #0f1c2e;
    text-align: left;
}

/* ================= CAROUSEL ================= */

.insights-carousel-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Scroll container */
.insights-carousel {
    width: 100%;
    max-width: 700px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

/* Hide scrollbar */
.insights-carousel::-webkit-scrollbar {
    display: none;
}
.insights-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Track */
.insights-track {
    display: flex;
    width: 100%;
}

/* Insight Card */
.insight-card {
    min-width: 100%;
    max-width: 100%;
    scroll-snap-align: center;
    background: #ffffff;
    border-radius: 18px;
    padding: 60px 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    position: relative;
    flex: 0 0 100%; /* important */
    box-sizing: border-box;
}

/* Tag */
.insight-tag {
    position: absolute;
    top: 25px;
    left: 30px;
    background: #0f1c2e;
    color: #d4af37;
    padding: 6px 14px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-radius: 20px;
}

/* Heading */
/* Allow full text wrapping */
.insight-card h3 {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-top: 40px;
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.insight-card h3 a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: #0f1c2e;
}

.insight-card h3 a:hover {
    color: #d4af37;
}

.team-carousel-wrapper,
.insights-carousel-wrapper {
    padding: 0 60px;
}


/* ================= ARROWS ================= */

.carousel-arrow,
.insight-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0f1c2e;
    color: #d4af37;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    line-height: 1;
    padding: 0;
}

.insight-arrow:hover {
    background: #1a2c45;
}

.insight-arrow.left {
    left: 10px;
}

.insight-arrow.right {
    right: 10px;
}

.carousel-arrow i,
.insight-arrow i {
    font-size: 16px;
}


@media (max-width: 900px) {
    .insight-arrow {
        display: flex;
    }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .insights-heading {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .insight-card {
        padding: 50px 30px;
    }

}


/* ================= LINE 7 (FOOTER) ================= */

.line-7 {
    width: 100%;
    padding: 50px 0;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 1200px) 1fr;
    background: #0f1c2e;
    border-top: 1px solid rgba(212,175,55,0.2);
}

.sector-7b {
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    text-align: center;
}

/* Both lines identical */
.footer-copy {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Link styling (no aggressive hover) */
.footer-copy a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}

.footer-copy a:hover {
    color: #d4af37;
}

/* ================= Page2 ================= */

/* ================= ARTICLE CONTENT ================= */

.article-section {
    width: 100%;
    padding: 120px 0;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 800px) 1fr;
}

.article-content {
    padding: 0 20px;
}

.article-content h1 {
    font-size: 2.4rem;
    margin-bottom: 30px;
    color: #0f1c2e;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
    color: #333;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .line-1 {
        height: 80px;
    }

    body {
        padding-top: 80px;
    }

    .article-content h1 {
        font-size: 2rem;
    }

}


/* ================= LINE 2_3 (BOOK + SIGNUP) ================= */

.line-2-3 {
    width: 100%;
    padding: 120px 0;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 800px) 1fr;
    background: #0f1c2e;
}

.sector-2-3b {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Book Image */
.book-image img {
    max-width: 280px;
    height: auto;
    margin-bottom: 60px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    border-radius: 12px;
}

/* Signup Form */
.signup-form h2 {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 35px;
}

.signup-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

/* Inputs */
.signup-form input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 14px 16px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s ease;
}

.signup-form input:focus {
    border: 1px solid #d4af37;
}

/* Button */
.signup-form button {
    padding: 14px;
    border: 1px solid #d4af37;
    background: transparent;
    color: #d4af37;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-form button:hover {
    background: #d4af37;
    color: #0f1c2e;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .line-2-3 {
        padding: 90px 0;
    }

    .book-image img {
        max-width: 220px;
        margin-bottom: 40px;
    }

    .signup-form h2 {
        font-size: 1.7rem;
    }

}

/* ================= LINE 2_4 (DISCLAIMER) ================= */

.line-2-4 {
    width: 100%;
    padding: 100px 0;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 800px) 1fr;
    background: #f8f9fb;
}

.sector-2-4b {
    padding: 0 20px;
    text-align: left;
}

/* Heading */
.disclaimer-heading {
    font-size: 2rem;
    color: #0f1c2e;
    margin-bottom: 30px;
}

/* Text */
.disclaimer-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #555;
    max-width: 100%;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .sector-2-4b {
        text-align: center;
    }

    .disclaimer-heading {
        font-size: 1.7rem;
    }

}

@media (max-width: 768px) {

    .carousel-arrow,
    .insight-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

}
