/* style.css - Complete Classy Stylesheet for Dawn College Nakuru */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: #ffffff;
    color: #1e1e2f;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0f2b3f;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #4a5c6b;
}

/* Tablet and up */
@media (min-width: 768px) {
    h1 { font-size: 3.2rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.8rem; }
}

@media (min-width: 1024px) {
    h1 { font-size: 4rem; }
    h2 { font-size: 3rem; }
}

/* ===== COLOR VARIABLES ===== */
:root {
    --primary: #ff8c42;
    --primary-dark: #e6732e;
    --primary-light: #fff0e6;
    --secondary: #0f2b3f;
    --secondary-dark: #0b1f2f;
    --secondary-light: #1a3a4f;
    --text-dark: #1e1e2f;
    --text-light: #4a5c6b;
    --text-lighter: #6c7a8a;
    --bg-light: #f8fafd;
    --bg-lighter: #ffffff;
    --border: #e0e7ed;
    --border-light: #e9eef3;
    --shadow-sm: 0 5px 20px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);
    --shadow-hover: 0 30px 50px rgba(255,140,66,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== NAVIGATION BAR - LUXURY EDITION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    background: transparent;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 5%;
}

/* Logo */
.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
    letter-spacing: -0.02em;
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
    filter: drop-shadow(0 2px 5px rgba(255,140,66,0.3));
}

.scrolled .logo {
    color: var(--secondary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
    transition: var(--transition);
}

.scrolled .menu-toggle {
    color: var(--secondary);
}

/* Desktop Navigation */
@media (min-width: 992px) {
    .nav-links {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 2.5rem;
        flex: 1;
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .nav-links a {
        color: white !important;
        font-size: 0.95rem;
        font-weight: 500;
        text-decoration: none;
        padding: 0.5rem 0;
        position: relative;
        white-space: nowrap;
        transition: var(--transition);
        letter-spacing: 0.3px;
        text-transform: uppercase;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
        width: 100%;
    }

    .nav-links a:hover {
        color: var(--primary) !important;
    }

    .nav-links a.active {
        color: var(--primary) !important;
        font-weight: 600;
    }

    .scrolled .nav-links a {
        color: var(--text-dark) !important;
    }

    /* Navigation Buttons */
    .nav-links .btn-outline-light,
    .nav-links .btn-filled {
        margin-left: 1rem;
        padding: 0.7rem 2rem;
        font-size: 0.9rem;
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-links .btn-outline-light {
        background: transparent;
        border: 2px solid rgba(255,255,255,0.5);
        color: white;
    }

    .nav-links .btn-outline-light:hover {
        background: white;
        border-color: white;
        color: var(--secondary);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .scrolled .nav-links .btn-outline-light {
        border-color: var(--secondary);
        color: var(--secondary);
    }

    .scrolled .nav-links .btn-outline-light:hover {
        background: var(--secondary);
        border-color: var(--secondary);
        color: white;
    }

    .nav-links .btn-filled {
        background: var(--primary);
        border: 2px solid var(--primary);
        color: white;
        box-shadow: 0 5px 15px rgba(255,140,66,0.3);
    }

    .nav-links .btn-filled:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 15px 25px rgba(255,140,66,0.4);
    }

    .nav-links .btn-filled i {
        font-size: 1rem;
    }
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: linear-gradient(135deg, #ffffff, #f8fafd);
        flex-direction: column;
        padding: 6rem 2rem 3rem;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        z-index: 1000;
        overflow-y: auto;
        display: flex;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--text-dark) !important;
        font-size: 1.2rem;
        text-decoration: none;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
        font-weight: 500;
        transition: var(--transition);
    }

    .nav-links a:hover {
        color: var(--primary) !important;
        padding-left: 0.5rem;
    }

    .nav-links .btn-outline-light,
    .nav-links .btn-filled {
        width: 100%;
        margin: 0.5rem 0;
        padding: 1rem;
        text-align: center;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
    }

    .nav-links .btn-outline-light {
        background: transparent;
        border: 2px solid var(--secondary);
        color: var(--secondary);
    }

    .nav-links .btn-outline-light:hover {
        background: var(--secondary);
        color: white;
    }

    .nav-links .btn-filled {
        background: var(--primary);
        border: 2px solid var(--primary);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-links .btn-filled:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(255,140,66,0.3);
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(3px);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .overlay.active {
        display: block;
        opacity: 1;
    }
}

/* ===== HERO SLIDESHOW ===== */
.hero-slideshow {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: zoomEffect 20s ease infinite;
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 43, 63, 0.9), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

/* Hero Content */
.hero-content-overlay {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    transform: translateY(-50%);
    max-width: 100%;
    z-index: 10;
    color: white;
    text-align: center;
}

.hero-content-overlay h1 {
    font-size: 2.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content-overlay p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.quick-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 60px;
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 700px;
    margin: 0 auto;
}

.quick-stats div {
    text-align: center;
}

.quick-stats span {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.quick-stats p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin: 0;
}

/* Slideshow Controls */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    font-size: 1.3rem;
    transition: var(--transition);
    text-decoration: none;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
}

.prev { left: 15px; }
.next { right: 15px; }

.prev:hover, .next:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slide-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
    border-color: var(--primary);
}

.dot:hover {
    background: var(--primary);
}

/* Tablet Hero */
@media (min-width: 768px) {
    .hero-content-overlay {
        left: 8%;
        right: auto;
        max-width: 700px;
        text-align: left;
    }
    
    .hero-content-overlay h1 {
        font-size: 3.5rem;
    }
    
    .hero-content-overlay p {
        font-size: 1.3rem;
        margin-left: 0;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .quick-stats {
        grid-template-columns: repeat(3, 1fr);
        padding: 2rem;
        margin: 0;
    }
    
    .prev, .next {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .prev { left: 30px; }
    .next { right: 30px; }
}

@media (min-width: 1024px) {
    .hero-content-overlay h1 {
        font-size: 4.5rem;
    }
    
    .quick-stats span {
        font-size: 2.5rem;
    }
}

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
    padding-top: 80px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 43, 63, 0.9), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

.page-header h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
}

.page-header .breadcrumb {
    margin-top: 2rem;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

.page-header .breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.page-header .breadcrumb a:hover {
    text-decoration: underline;
}

.page-header .badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.page-header .badges span {
    background: rgba(255,140,66,0.15);
    padding: 0.7rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-header .badges i {
    color: var(--primary);
}

@media (min-width: 768px) {
    .page-header h1 {
        font-size: 3.5rem;
    }
    
    .page-header p {
        font-size: 1.3rem;
    }
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 4rem 5%;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 8%;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
}

/* ===== CARD GRIDS ===== */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Icon Cards */
.icon-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.icon-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.icon-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.icon-card:hover i {
    transform: scale(1.1);
}

.icon-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.icon-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Program Cards */
.program-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card:hover img {
    transform: scale(1.05);
}

.program-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--secondary);
}

.program-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex: 1;
}

.program-info .duration {
    color: var(--text-lighter);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.program-info .duration i {
    color: var(--primary);
}

.program-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(255,140,66,0.3);
}

.learn-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    margin-top: auto;
}

.learn-more:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

/* Responsive Card Grid */
@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== SPLIT LAYOUT ===== */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.split img {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.split img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

@media (min-width: 768px) {
    .split {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* ===== BENEFIT LIST ===== */
.benefit-list {
    list-style: none;
    margin: 2rem 0;
}

.benefit-list li {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-list i {
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* ===== STUDENT LIFE GRID ===== */
.student-life-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.life-item {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    border-radius: 30px;
    padding: 3rem 2rem;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.life-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,140,66,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.life-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

.life-item:hover::before {
    opacity: 1;
}

.life-item i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.life-item h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.life-item p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .student-life-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .student-life-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== TESTIMONIAL CAROUSEL ===== */
.testimonial-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1.5rem 0 3rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--border);
}

.testimonial-carousel::-webkit-scrollbar {
    height: 6px;
}

.testimonial-carousel::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 10px;
}

.testimonial-carousel::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.testimonial-card {
    min-width: 300px;
    background: white;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    scroll-snap-align: start;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.2rem;
    border: 3px solid var(--primary);
}

.testimonial-card p {
    font-size: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
}

.testimonial-card h4 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.testimonial-card .program {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .testimonial-card {
        min-width: 350px;
        padding: 2.5rem;
    }
}

/* ===== NEWS GRID ===== */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.news-card {
    background: white;
    border-radius: 30px;
    padding: 2rem;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.news-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.news-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--secondary);
}

.news-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.news-meta i {
    font-size: 0.9rem;
    color: var(--primary);
}

@media (min-width: 640px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== CTA SECTION ===== */
.cta-large {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    border-radius: 60px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-large::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,140,66,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-large h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-large p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .cta-large {
        padding: 5rem;
        border-radius: 80px;
    }
    
    .cta-large h2 {
        font-size: 3rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }
}

/* ===== BUTTONS ===== */
.btn-filled, .btn-outline-light, .btn-outline-dark, .btn-secondary {
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-filled {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(255,140,66,0.3);
}

.btn-filled:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255,140,66,0.4);
}

.btn-outline-light {
    background: transparent;
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    border-color: white;
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline-dark {
    background: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline-dark:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary);
    margin-right: 0.5rem;
}

input, textarea, select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
    -webkit-appearance: none;
    appearance: none;
}

textarea {
    border-radius: 30px;
    resize: vertical;
    min-height: 120px;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255,140,66,0.1);
    background: white;
}

.radio-group {
    display: flex;
    gap: 2rem;
    padding: 0.5rem 0;
    flex-wrap: wrap;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 50px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    width: auto;
    accent-color: var(--primary);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    background: var(--bg-light);
    padding: 1rem 2rem;
    border-radius: 50px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    accent-color: var(--primary);
}

.file-upload {
    border: 2px dashed var(--primary);
    border-radius: 30px;
    padding: 2.5rem;
    text-align: center;
    background: var(--primary-light);
    cursor: pointer;
    transition: var(--transition);
}

.file-upload:hover {
    background: #ffe9db;
    border-color: var(--primary-dark);
    transform: scale(1.02);
}

.file-upload i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.file-upload p {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.file-upload small {
    color: var(--text-lighter);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary-dark);
    color: #a0b3c5;
    padding: 5rem 5% 2rem;
    border-radius: 60px 60px 0 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h3, .footer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer h3 {
    font-size: 1.6rem;
}

.footer h4 {
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer p {
    color: #a0b3c5;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer a {
    color: #a0b3c5;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer a i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social i {
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.7;
}

.social i:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateY(-5px);
}

.bottom-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.95rem;
    text-align: center;
}

.bottom-row a {
    display: inline;
    margin: 0 0.5rem;
    color: #a0b3c5;
}

.bottom-row a:hover {
    color: var(--primary);
    transform: none;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
    
    .bottom-row {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 3rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
    background: rgba(255,255,255,0.2);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    box-shadow: 0 5px 20px rgba(255,140,66,0.4);
    transition: var(--transition);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,140,66,0.5);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-text {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.w-100 { width: 100%; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mt-5 { margin-top: 5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-5 { margin-bottom: 5rem; }

/* ===== TOUCH OPTIMIZATIONS ===== */
button, a, .clickable {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent zoom on input focus for iOS */
@media screen and (-webkit-min-device-pixel-ratio:0) { 
    select:focus,
    textarea:focus,
    input:focus {
        font-size: 16px;
    }
}

/* ===== SAFE AREA INSETS FOR NOTCHED DEVICES ===== */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(5%, env(safe-area-inset-left));
        padding-right: max(5%, env(safe-area-inset-right));
        padding-top: max(0.8rem, env(safe-area-inset-top));
    }
    
    .footer {
        padding-left: max(5%, env(safe-area-inset-left));
        padding-right: max(5%, env(safe-area-inset-right));
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
    
    .page-header {
        padding-top: max(80px, env(safe-area-inset-top));
    }
}




