/* ============================================
   TCOSE WEBSITE - NAVY BLUE PROFESSIONAL THEME
   FULLY RESPONSIVE + HAMBURGER MENU
   EVERY SECTION HAS IMAGES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Arial', 'Helvetica', sans-serif;
    background: #f8f9fa;
    color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== NAVY BLUE COLOR VARIABLES ===== */
:root {
    --navy-dark: #0a192f;
    --navy: #112240;
    --navy-light: #1a3650;
    --gold: #c9a03d;
    --gold-light: #d4af37;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #e0e0e0;
    --dark-gray: #333;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===== HEADER - SHORTER CONTENT (SIRF HEADER) ===== */
header {
    background: var(--navy-dark);
    color: var(--white);
    padding: 8px 0;  /* Short */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    padding: 0 30px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    gap: 10px;
    flex-shrink: 0;
}

.logo img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 8px;
}

.logo span {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation - Full Width Horizontal */
nav {
    flex: 1;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 5px;
    transition: all 0.3s;
    white-space: nowrap;
}

nav ul li a:hover,
nav ul li a.active {
    background: var(--gold);
    color: var(--navy-dark);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    text-align: center;
    border: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--navy-dark);
    transform: translateY(-3px);
}

/* ===== HERO SECTION - DEFAULT (BAQI PAGES K LIYE) ===== */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(10,25,47,0.85), rgba(17,34,64,0.8)), url('../img/home/hero.png');
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--gold);
}

.hero-intro {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   SIRF INDEX PAGE KE LIYE VIDEO HERO (OVERRIDE)
   ============================================================ */
.hero-index {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: none;  /* Image Background Hatam */
    background-attachment: unset;  /* Fixed Hatam */
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
    z-index: 1;
}

.hero-index .container {
    position: relative;
    z-index: 2;
}

/* Highlight styles for TAFIS and TCOSE */
.highlight {
    color: var(--gold);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(201, 160, 61, 0.3);
}

/* ===== SECTION STYLES ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    margin-bottom: 20px;
    text-align: center;
    color: var(--navy-dark);
}

.section-subtitle {
    font-size: 18px;
    margin-bottom: 50px;
    text-align: center;
    color: #555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== TWO COLUMN WITH IMAGE ===== */
.two-column {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.two-column .col {
    flex: 1;
}

.two-column img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.4s;
}

.two-column img:hover {
    transform: scale(1.02);
}

/* ===== GALLERY GRID (LOTS OF BIG IMAGES) ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.gallery-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: top center;
}

.gallery-item p {
    padding: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

/* ===== LIST CARDS WITH TOP IMAGE ===== */
.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.list-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-bottom: 4px solid var(--gold);
}

.list-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

.list-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.list-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    object-position: top center;
}

.list-card:hover .list-card-img img {
    transform: scale(1.05);
}

.list-card-content {
    padding: 25px;
}

.list-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--navy);
    border-left: 4px solid var(--gold);
    padding-left: 15px;
}

.list-card p {
    color: #555;
    line-height: 1.6;
}

.list-card ul {
    list-style: none;
    margin-top: 15px;
}

.list-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.list-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* ===== CTA SECTION WITH BIG IMAGE ===== */
.cta-section {
    background: linear-gradient(135deg, rgba(10,25,47,0.92), rgba(17,34,64,0.88)), url('../img/home/cta.png');
    background-size: cover;
    background-position: top;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    font-size: 44px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== MEMBERSHIP TIERS ===== */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.membership-tier {
    background: var(--white);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.membership-tier:hover {
    transform: translateY(-10px);
}

.membership-tier h3 {
    font-size: 28px;
    color: var(--navy);
}

.membership-tier .price {
    font-size: 44px;
    font-weight: bold;
    color: var(--gold);
    margin: 20px 0;
}

.membership-tier ul {
    list-style: none;
    margin: 25px 0;
}

.membership-tier ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray);
}

/* ===== COUNCIL MEMBERS - 3 PER ROW ===== */
.council-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.council-member {
    background: var(--white);
    border-radius: 25px;
    padding: 35px 20px;
    transition: all 0.3s;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.council-member:hover {
    transform: translateY(-8px);
}

.council-member img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    border: 4px solid var(--gold);
    margin-bottom: 20px;
}

.council-member h3 {
    font-size: 22px;
    color: var(--navy);
}

.council-member p {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* ===== CONTACT FORM WITH IMAGE ===== */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--gray);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

/* ===== PROFESSIONAL FOOTER ===== */
footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
}

.footer-logo span {
    font-size: 22px;
    font-weight: bold;
}

.footer-about {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--navy-dark);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 15px;
}

.contact-info li i {
    width: 20px;
    color: var(--gold);
}

.contact-info li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.contact-info li a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

.footer-bottom-left p {
    opacity: 0.7;
}

.footer-bottom-right ul {
    display: flex;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
}

.footer-bottom-right ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-bottom-right ul li a:hover {
    color: var(--gold);
}

.footer-tafis {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

.footer-tagline {
    font-size: 18px;
    font-style: italic;
    color: var(--gold);
    margin-top: 10px;
    letter-spacing: 1px;
}

/* ===== RESPONSIVE MOBILE & TABLET ===== */
@media (max-width: 1100px) {
    nav ul li a {
        font-size: 11px;
        padding: 5px 8px;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .two-column {
        flex-direction: column;
    }
    
    .council-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 55px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 55px);
        background: var(--navy-dark);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 30px;
        gap: 10px;
    }
    
    nav ul li a {
        display: block;
        padding: 12px 20px;
        font-size: 16px;
        white-space: normal;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    /* Index Page Video Hero Mobile */
    .hero-index {
        min-height: 100vh;
        padding: 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-intro {
        font-size: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 220px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .list-grid {
        grid-template-columns: 1fr;
    }
    
    .membership-grid {
        grid-template-columns: 1fr;
    }
    
    .council-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-right ul {
        justify-content: center;
    }
    
    .cta-section h2 {
        font-size: 30px;
    }
    
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 26px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .list-card h3 {
        font-size: 20px;
    }
    
    .membership-tier {
        padding: 30px 20px;
    }
    
    .membership-tier .price {
        font-size: 36px;
    }
    
    .council-member img {
        width: 130px;
        height: 130px;
    }
}