/* =========== RESET =========== */
* {
    margin: 0; padding: 0; box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', 'Montserrat', Arial, sans-serif;
    color: #18132c;
    background: #fafaff;
}

/* =========== NAVBAR =========== */
.navbar {
    /* position: sticky;       /* Changed from fixed to sticky */
    /* top: 0;                /* Always at the top when scrolling */
    width: 100vw;
    z-index: 100;
    background: rgba(28,10,56,0.30);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7em 2em;
    box-shadow: 0 2px 16px rgba(28,10,56,0.07);
    transition: background 0.3s;
}

.navbar-home {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.navbar:hover {
    background: rgba(28,10,56,0.60);  /* Slightly less transparent on hover */
}


.navbar-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    /* Needed for the group hover */
    position: relative;
}

.navbar-logo img {
    height: 48px;
}

.navbar-title {
    font-size: 2rem;
    font-weight: bold;
    color: #b085f5;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.2s;
    /* Optional: For precise font */
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

/* Only for KAT formatting in navbar */
.navbar-title .kat {
    text-transform: uppercase;
}

/* --- GROUP HOVER: Text turns white when logo (or text) is hovered --- */
/* Use the parent .navbar-logo:hover to style .navbar-title */
.navbar-logo:hover .navbar-title {
    color: #fff;
}

.navbar-title:hover {
    color: #fff;
}

.navbar-links ul {
    display: flex;
    gap: 1.7em;
    list-style: none;
}
.navbar-links a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 8px;
    transition: background 0.2s;
    background: none;     /* Or your default background, but keep it consistent */
    margin-bottom: 0;     /* Ensure no margin at bottom */
    box-shadow: none;     /* Or set to your liking, but no shadow at bottom edge */

}
.navbar-links a:hover {
    background: #fff;
    color: #5d189d;
}

/* Dropdown menu styling */
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 180px;
    /*box-shadow: 0 6px 16px rgba(60,40,90,0.11);*/
    border-radius: 8px; /* <--- Only bottom corners rounded! */
    left: 0;
    top: 100%;
    z-index: 120;
    border: 1px solid #eeeeee;   /* Optional, for definition */
    /*border-top: none;            /* Ensures no border between button and menu */
}


.dropdown-btn {
    /* your existing .navbar-links a styles */
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    padding: 0px 18px;
    border-radius: 8px;
    transition: background 0.2s;
    background: none;
    margin-bottom: 0;
    box-shadow: none;
    cursor: pointer;
}

.dropdown-btn-container:hover .dropdown-content,
.dropdown-content:hover {
    display: block;
}

.dropdown-btn:hover {
    background: #fff;
    color: #5d189d;
}

.dropdown-content a {
    color: #5d189d;
    padding: 7px 20px;
    text-decoration: none;
    display: block;
    border-radius: 2;
}
.dropdown-content a:hover {
    background: #eee;
}

.dropdown:hover .dropdown-content {
    display: block;
}




/* =========== HERO BANNER =========== */
.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 520px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-banner video {
    position: absolute;
    width: 100vw;
    /*height: 100vh;*/
    object-fit: cover;
    z-index: 0;
    left: 0; top: 0;
    filter: brightness(0.7);
    max-width: 100vw;
    max-height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    overflow: hidden;
}
.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}
.hero-title {
    color: #fff;
    font-size: 3.5rem;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
    text-shadow: 0 8px 32px rgba(0,0,0,0.16);
}
.hero-tagline {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 16px;
    text-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Mute Button  */

.mute-btn {
    position: absolute;
    bottom: 26px;
    right: 36px;
    z-index: 3;
    background: rgba(40,40,60,0.56);
    border: none;
    border-radius: 50%;
    padding: 13px 13px 10px 13px;
    cursor: pointer;
    transition: transform 0.15s, background 0.2s;
    box-shadow: 0 2px 12px rgba(30,20,50,0.12);
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mute-btn svg {
    display: block;
    width: 30px;
    height: 30px;
    fill: #fafafa;
}

.mute-btn:hover {
    background: rgba(40,40,60,0.90);
    transform: scale(1.13);
}

/* Basic Info Strip */

.teal-strip {
    background: #23b6b9;
    color: #fff;
    padding: 80px 20vw 80px 10vw; /* top right bottom left (edit as you like) */
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100vw;
}
.teal-strip-content {
    /*max-width: 850px;             /* Optional: max width for readability */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;      /* Left-align everything inside */
}
.teal-strip-content p {
    font-size: 1.22rem;
    margin-bottom: 32px;          /* More space below text before button */
    font-weight: 500;
    line-height: 1.5;
    text-align: left;             /* Ensure text is left-aligned */
}
.learn-more-btn {
    background: #fff;
    color: #23b6b9;
    border: none;
    border-radius: 6px;
    padding: 11px 28px;
    font-size: 1.15rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(50,180,200,0.10);
    transition: background 0.2s, color 0.2s, transform 0.14s;
    cursor: pointer;
    text-align: left;             /* Make button text left-aligned (optional) */
    margin-left: 0;               /* Make sure button stays left */
}

.learn-more-btn:hover {
    background: #1a979a;
    color: #fff;
    transform: scale(1.06);
}

/* Basic Mission Front Page*/

.mission-collage-section {
    background: #f1f1f1;
    width: 100vw;
    padding: 90px 0 100px 0;
    position: relative;
    overflow: visible;
}

.mission-collage-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    height: 280px; /* Adjust as needed for your design */
    display: flex;
    align-items: center;
    justify-content: center;
}

.our-mission-title {
    position: absolute;
    left: 50%;   /* Adjust this to move horizontally (0% = far left, 100% = far right) */
    top: 0%;    /* Adjust this to move vertically (0% = top, 100% = bottom) */
    z-index: 2;
    font-size: 4rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: 1.8px;
    text-align: center;
}

.our-mission-desc {
    position: absolute;
    left: 20%;    /* Adjust this to move horizontally (0% = far left, 100% = far right) */
    top: 43%;     /* Adjust this to move vertically (0% = top, 100% = bottom) */
    z-index: 2;
    font-size: 1.17rem;
    color: #25144d;
    font-weight: 500;
    text-align: left;
    max-width: 340px; /* You can tweak this as you want */
    
}

/* Collage images: randomized placement (edit for final positioning/overlap/layering later) */
.collage-img {
    position: absolute;
    z-index: 1;   /* Lower than mission title */
    opacity: 0.96;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(60,50,120,0.12);
}

.collage-1 { left: 0%;  top: 4%;  width: 200px;  transform: rotate(-12deg);}
.collage-2 { left: 37%; top: 80%;  width: 200px;  transform: rotate(6deg);}
.collage-3 { right: 2%; top: 50%; width: 200px;  transform: rotate(7deg);}

/* =========== MISSION / ABOUT =========== */
.about-page-bg {
    background: #ffe7ca; /* Light orange; change as needed */
}

.about-page-main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 70px 0 70px 0;
    min-height: 90vh;
    gap: 56px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Make Our Mission big and center-aligned */
.about-mission-title {
    font-size: 3.2rem;
    color: #e57d1e;  /* Deep orange; adjust as needed */
    font-weight: 800;
    text-align: center;
    margin-bottom: 38px;
    letter-spacing: 2.2px;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

/* Remove mission-center box styles */
.mission-center {
    max-width: 560px;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission-center p {
    font-size: 1.23rem;
    margin-bottom: 22px;
    color: #1c1330;
    text-align: left;
    font-weight: 500;
    background: none;
}

.mission-center ul {
    margin-top: 8px;
    padding-left: 16px;
    color: #382514;
    font-size: 1.1rem;
    width: 100%;
    text-align: left;
    background: none;
}

.about-gallery {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 30px;
}

.about-gallery img {
    width: 260px;           /* Wider image */
    height: 160px;          /* Shorter height for aspect ratio */
    object-fit: cover;
    border-radius: 0;       /* Remove rounded edges */
    box-shadow: none;       /* Remove box shadow */
    background: none;
}

.about-gallery-left { align-items: flex-end; }
.about-gallery-right { align-items: flex-start; }

@media (max-width: 1100px) {
    .about-page-main { gap: 18px; }
    .about-gallery img { width: 170px; height: 95px; }
    .mission-center { max-width: 94vw; }
}
@media (max-width: 700px) {
    .about-page-main {
        flex-direction: column;
        align-items: center;
        gap: 34px;
    }
    .about-gallery {
        flex-direction: row;
        gap: 14px;
        justify-content: center;
        margin-top: 0;
    }
    .about-gallery img { width: 110px; height: 65px; }
}


/* =========== FILMOGRAPHY =========== */

.filmography {
    background: #e1303062;      /* Replace with your chosen color */
    padding-bottom: 60px;     /* Padding to prevent grid from touching footer */
    min-height: 100vh;        /* Optional: full viewport height */
    /* Add border-radius or box-shadow if you want a card look */
}

.filmography h2 {
    font-size: 3rem;         /* Change size (try 2.2rem, 2.5rem, 3rem etc.) */
    color: #474747b1;          /* Change color (any hex, rgb, or color name) */
    text-align: center;      /* center, left, or right */
    font-weight: 900;        /* 700=bold, 900=extra bold, 400=normal */
    margin-bottom: 36px;     /* Space below heading */
    padding-top: 36px;
    letter-spacing: 1.8px;   /* Optional: more space between letters */
    /* Add any other style you want, e.g. text-shadow */
}
/* ====== FILM FILTER BAR ====== */
.film-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-bottom: 36px;
}
.filter-btn {
    background: #e8def7;
    color: #5d189d;
    font-weight: 600;
    border: none;
    border-radius: 22px;
    padding: 12px 32px;
    font-size: 1.13em;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    box-shadow: 0 2px 10px rgba(100,60,160,0.09);
    outline: none;
}
.filter-btn.active,
.filter-btn:hover {
    background: #5d189d;
    color: #fff;
}

/* ====== FILM GRID (3 columns, responsive) ====== */
.film-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px;              /* CONTROL TILE GAP HERE */
    margin: 0 auto 60px auto;
    max-width: 1100px;
    min-width: 320px;
}

/* --- Fade Animation for Film Grid --- */
/*.film-grid.fading-out {
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.film-grid.fading-in {
    opacity: 1;
    transition: opacity 0.45s;
} */


/* ====== FILM CARD ====== */


.film-card {
  opacity: 1;
  transition: opacity 0.4s;
}
.film-card.fade-out {
  opacity: 0;
  pointer-events: none;
}
.film-card.show {
  opacity: 1;
}


.film-card {
    position: relative;
    background: #fff;
    border-radius: 17px;
    overflow: visible;
    box-shadow: 0 4px 18px rgba(70, 30, 120, 0.14);
    min-height: 330px;
    max-height: 390px;
    transition: z-index 0.2s;
    cursor: pointer;
    /* CONTROL TILE SIZE HERE: */
    width: 315px;
    height: 360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1;
}

.film-thumb {
    width: 100%;
    height: 100%;              /* <-- Was 65%; now fills the whole tile */
    border-radius: 17px;       /* Make all corners round, not just top */
    overflow: hidden;
    transition: box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(60,30,90,0.07);
    background: #ddd;
}
.film-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s;
    border-radius: 17px 17px 0 0;
}

/* ========== FILM TILE EXPANSION ========== */
.film-card .film-expand {
    display: none;
    position: absolute;
    top: 0;
    left: -50px;        /* make it -ve half of whatever pixels is added to 100% below to keep it centered*/
    width: calc(100% + 100px);
    height: 100%;
    background: #fff;
    border-radius: 17px;
    box-shadow: 0 7px 32px rgba(40,20,90,0.17);
    z-index: 20;
    overflow: hidden;
    flex-direction: column;
    animation: fadeIn 0.23s;
}
@keyframes fadeIn {
    0% { opacity: 0; transform: scaleY(0.9);}
    100% { opacity: 1; transform: scaleY(1);}
}
.film-card.expanded .film-expand {
    display: flex;
}
.film-card.expanded {
    z-index: 99;
}

/* Expanded title & meta */
.film-expand .expand-title {
    position: absolute;
    top: 28px;
    left: 36px;
    right: 36px;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 4px 16px rgba(0,0,0,0.35);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: column;      /* Stack children vertically */
    align-items: flex-start;     /* Left align, use center if you prefer */
    gap: 6px;       
}
.expand-type {
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(232,222,247,0.6); /* Slightly see-through, looks good over image */
    color: #5d189d;
    border-radius: 8px;
    padding: 6px 5px;
    margin-left: 0;           /* No left margin when stacked */
    margin-top: 2px;          /* Add a little space above if desired */
}
.film-expand .expand-description {
    position: absolute;
    left: 36px;
    right: 36px;
    bottom: 28px;
    font-size: 1.17rem;
    color: #fff;
    background: rgba(32,17,54,0.58); /* dark overlay for readability */
    padding: 18px 24px;
    border-radius: 9px;
    z-index: 2;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0,0,0,0.32);
}

.expand-name {
    font-size: 2rem;
    font-weight: bold;
}

/* Only show description at the bottom */
.film-expand {
    display: none;
    position: absolute;
    top: 0;
    left: -50px;
    width: calc(100% + 100px);
    height: 100%;
    background: #000;            /* For text contrast; tweak as desired */
    border-radius: 17px;
    box-shadow: 0 7px 32px rgba(40,20,90,0.17);
    z-index: 20;
    overflow: hidden;
    flex-direction: column;
    animation: fadeIn 0.23s;
}

.film-expand .expand-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;           /* fills, does not warp, can crop */
    border-radius: 17px;
    z-index: 1;
}

/*
.film-card.expanded .film-thumb {
    display: none;
}*/

/* Clickable overlay for whole tile */
.film-link {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 30;
}

@media (max-width: 1150px) {
    .film-grid { max-width: 100vw; grid-template-columns: 1fr 1fr 1fr;}
}
@media (max-width: 900px) {
    .film-grid { grid-template-columns: 1fr 1fr;}
    .film-card, .film-card .film-expand { width: 94vw; min-width: 210px; }
    .film-card .film-expand { left: -47%; width: 194%; }
}
@media (max-width: 700px) {
    .film-grid { grid-template-columns: 1fr;}
    .film-card, .film-card .film-expand { width: 99vw; min-width: 210px; }
    .film-card .film-expand { left: 0; width: 100%; }
}


/* ======= CONTACT PAGE ======= */
.contact-page-bg {
    background: #e7faea; /* Very light green */
    min-height: 100vh;
}

.contact-page-main {
    max-width: 520px;
    margin: 0 auto;
    padding: 86px 18px 70px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1; /* Above absolutely positioned elements with z-index: 0 */

}

.contact-title {
    font-size: 2.6rem;
    color: #18a366;
    font-weight: 800;
    margin-bottom: 36px;
    letter-spacing: 2.3px;
    text-align: center;
}

/* Form layout: label left, input right */
.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-row {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    width: 100%;
    min-width: 0;
}

.contact-form label {
    font-size: 1.08rem;
    font-weight: 600;
    color: #217156;
    min-width: 105px;
    text-align: left;
    flex: 1;
    margin-right: 16px;
}

.contact-form input,
.contact-form textarea {
    flex: 3;
    min-width: 210px;
    max-width: 295px;
    width: 100%;
    padding: 13px 14px;
    border: 1.6px solid #90cfc2;
    border-radius: 9px;
    font-size: 1.11rem;
    outline: none;
    transition: border 0.15s;
    background: #fff;
    font-family: inherit;
    text-align: left;
}

.contact-form textarea {
    min-height: 95px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.6px solid #18a366;
}

.contact-form button {
    background: #18a366;
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 13px 0;
    font-size: 1.12rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 6px;
    width: 100%;
}
.contact-form button:hover {
    background: #167c4e;
}

.message-sent {
    margin-top: 13px;
    font-size: 1.21rem;
    color: #25ac61;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInPop 0.38s;
}
@keyframes fadeInPop {
    0% { opacity: 0; transform: translateY(16px) scale(0.95);}
    100% { opacity: 1; transform: translateY(0) scale(1);}
}

.or-divider {
    font-size: 2.2rem;
    font-weight: 800;
    color: #18a366;
    margin: 44px 0 7px 0;
    letter-spacing: 1.6px;
    text-align: center;
}

.contact-direct-email {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
}

.contact-direct-label {
    font-size: 1.09rem;
    color: #217156;
    font-weight: 500;
    margin-bottom: 3px;
}

.contact-email-link {
    font-size: 1.19rem;
    color: #15735c;
    font-weight: 700;
    text-decoration: underline;
    margin-top: 2px;
    letter-spacing: 1px;
    transition: color 0.14s;
    cursor: pointer;
    margin-bottom: 38px; /* INCREASED space below email before footer */
}
.contact-email-link:hover {
    color: #11be88;
}

@media (max-width: 600px) {
    .contact-page-main { padding-top: 34px; }
    .contact-title { font-size: 2rem; }
    .or-divider { font-size: 1.3rem; }
    .contact-email-link { font-size: 0.95rem; }
    .contact-form-row label { min-width: 70px; margin-right: 8px; }
}

.paper-plane-bg {
    position: absolute;
    z-index: 0;
    left: 7vw;           /* Horizontal position (from the left edge) */
    top: 12vh;           /* Vertical position (from the top edge) */
    width: 320px;        /* Size: change as you like (px, %, etc) */
    height: auto;        /* Maintain aspect ratio */
    opacity: 0.14;       /* Faint/ghostly for background */
    pointer-events: none;/* Let clicks through */
    user-select: none;
    transform: rotate(-19deg);  /* Control angle (deg or rad) */
    transition: all 0.24s;
}

/* Example: If you want to hide on very small screens: */
/*
@media (max-width: 600px) {
    .paper-plane-bg {
        display: none;
    }
}
*/

.paper-plane-bg-2 {
    position: absolute;
    z-index: 0;
    Right: 10vw;           /* Horizontal position (from the left edge) */
    top: 30vh;           /* Vertical position (from the top edge) */
    width: 320px;        /* Size: change as you like (px, %, etc) */
    height: auto;        /* Maintain aspect ratio */
    opacity: 0.14;       /* Faint/ghostly for background */
    pointer-events: none;/* Let clicks through */
    user-select: none;
    transform: rotate(-19deg);  /* Control angle (deg or rad) */
    transition: all 0.24s;
}

/* Example: If you want to hide on very small screens: */
/*
@media (max-width: 600px) {
    .paper-plane-bg-2 {
        display: none;
    }
}
*/




/* =========== FOOTER =========== */

.site-footer {
    background: #dfdfdf;
    color: #7d42ce;
    text-align: center;
    padding: 50px 0 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
    margin-bottom: 0px;
    width: 100vw;
}

.site-footer-logo {
    height: 60px;
    margin-right: 22px;
}

.site-footer-text {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #7d42ce;
    display: inline-block;
    margin: 0;
    padding: 0;
}


/* =========== RESPONSIVE =========== */
@media (max-width: 900px) {
    .film-grid { flex-direction: column; align-items: center; }
    .navbar { flex-direction: column; padding: 0.7em 1em; }
    .navbar-links ul { gap: 1em; }
    .mission, .contact { padding: 22px 8px; }
}
