/* Custom Fonts - Using Google Fonts (Rokkitt and Josefin Sans) */
/* Local font files are available but Google Fonts are used for better compatibility */
/* If you want to use local fonts, uncomment and update paths below: */
/*
@font-face {
    font-family: 'Rokkitt';
    src: url('../fonts/Rokkitt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rokkitt';
    src: url('../fonts/Rokkitt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Josefin Sans';
    src: url('../fonts/JosefinSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Josefin Sans';
    src: url('../fonts/JosefinSans-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a2332;
    --secondary-color: #2c3e50;
    --accent-color: #ff6b35;
    --accent-hover: #e55a2b;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Rokkitt', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: block;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--accent-color);
    background-color: rgba(255, 107, 53, 0.05);
    transform: translateY(-2px);
}

.nav-menu a:hover::before {
    width: 80%;
}

.nav-menu a.active {
    color: var(--accent-color);
    background-color: rgba(255, 107, 53, 0.1);
}

.nav-menu a.active::before {
    width: 80%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 0;
    min-height: 300px;
}

/* Home page hero image */
.home-hero .hero-overlay {
    background-image: url('../images/home-hero.jpg');
    background-position: center 20%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 900px;
    margin: 0;
    padding: 2rem 0;
}

.hero-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 700px;
}

/* Page Header with Hero Image */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: block;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 0;
    min-height: 300px;
}

/* Different hero images for each page */
.about-hero .hero-overlay {
    background-image: url('../images/about-hero.jpg') !important;
}

.what-we-do-hero .hero-overlay {
    background-image: url('../images/what-we-do-hero.jpg');
}

.events-hero .hero-overlay {
    background-image: url('../images/events-hero.jpg');
}

/* Events Hero Video */
.events-hero {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.events-hero .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.events-hero .video-overlay {
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

/* Hide fallback image overlay when video is loaded and playing */
.events-hero video.hero-video:not([style*="display: none"]) ~ .hero-overlay:not(.video-overlay) {
    display: none;
}

/* Show fallback if video is hidden or not available */
.events-hero video.hero-video[style*="display: none"] ~ .hero-overlay:not(.video-overlay),
.events-hero:not(:has(video.hero-video)) .hero-overlay:not(.video-overlay) {
    display: block;
}

.media-hero .hero-overlay {
    background-image: url('../images/media-hero.jpg');
}

.contact-hero .hero-overlay {
    background-image: url('../images/contact-hero.jpg');
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

/* Hero Text Overlay */
.hero-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.hero-overlay-text {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 3.5rem;
    color: var(--white);
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    line-height: 1.2;
    padding: 0 2rem;
    max-width: 90%;
}

.page-title {
    font-size: 2rem;
    font-weight: 400;
    text-align: left;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

.content-section {
    margin-bottom: 2rem;
}

.content-block {
    max-width: 900px;
    margin: 0;
}

.content-block p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.lead-text {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.section-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-align: left;
}

/* Intro Section */
.intro-section {
    background-color: var(--bg-light);
    padding: 2rem 0;
}

/* Services Preview */
.services-preview {
    padding: 2rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 400;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Why Us Section */
.why-us-section {
    background-color: var(--bg-light);
    padding: 2rem 0;
}

/* Knowledge Section */
.knowledge-section {
    padding: 2rem 0;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.knowledge-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.knowledge-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-color);
}

.knowledge-item h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.knowledge-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* How We Do It Section */
.how-we-do-section {
    background-color: var(--bg-light);
    padding: 2rem 0;
}

/* Discipline Section */
.discipline-section {
    padding: 2rem 0;
}

/* Services List Section */
.services-list-section {
    background-color: var(--bg-light);
    padding: 2rem 0;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.service-item {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 8px;
    text-align: left;
    font-weight: 500;
    color: var(--primary-color);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    border-left: 3px solid transparent;
}

.service-item:hover {
    transform: translateY(-3px);
    background-color: var(--accent-color);
    color: var(--white);
    border-left-color: var(--accent-hover);
}

/* Contact Section */
.contact-section {
    padding: 2rem 0;
}

.contact-address {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-address:last-child {
    border-bottom: none;
}

.contact-address h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-address p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.required {
    color: #e74c3c;
}

/* Events Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.event-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--accent-color);
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-color);
}

.event-item h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.event-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.un-agencies {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.agency-item {
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.agency-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Media Content Wrapper */
.media-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

.media-text-content {
    flex: 1;
}

.media-brands-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.media-brand-button {
    background: var(--bg-light);
    padding: 1.25rem 1.5rem;
    border-radius: 4px;
    text-align: left;
    font-family: 'Rokkitt', serif;
    font-weight: 400;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-decoration: none;
    display: block;
}

.media-brand-button:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.bg-light {
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-details {
    margin-top: 1.5rem;
}

.contact-details p {
    margin-bottom: 1rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h3,
.footer-section h4 {
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    opacity: 0.8;
    font-size: 0.75rem;
    font-family: 'Josefin Sans', sans-serif;
}

/* Terms & Conditions Styling */
.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-content h2 {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.terms-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.terms-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.terms-content p strong {
    color: var(--text-color);
    font-weight: 600;
}

.terms-content p:has(strong) {
    margin-top: 0.5rem;
}

.policy-list {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.policy-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.7;
}

.policy-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.terms-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.terms-content a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        max-width: 100%;
        text-align: left;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        padding: 1rem 0;
        gap: 0;
        backdrop-filter: blur(10px);
        z-index: 999;
        height: calc(100vh - 72px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
    }
    
    .nav-menu a {
        color: var(--text-color);
        padding: 1rem 2rem;
        width: 100%;
        display: block;
        border-radius: 0;
        border-left: 5px solid transparent;
        transition: all 0.3s ease;
    }
    
    .nav-menu a::before {
        display: none;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: rgba(255, 107, 53, 0.05);
        border-left-color: var(--accent-color);
        transform: translateX(5px);
        color: var(--accent-color);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .page-hero {
        padding: 4rem 0 3rem;
        min-height: 250px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-overlay-text {
        font-size: 2.5rem;
        letter-spacing: 1.5px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .services-list {
        grid-template-columns: 1fr;
    }
}

/* Terms & Conditions Styling */
.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 400;
    margin-top: 2rem;
}

.terms-content h2:first-of-type {
    margin-top: 0;
}

.terms-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.terms-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.terms-content p strong {
    color: var(--text-color);
    font-weight: 600;
}

.terms-content p:has(strong) {
    margin-top: 0.5rem;
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .main-content {
        padding: 2rem 0;
    }

    .content-section {
        margin-bottom: 2rem;
    }

    .terms-content h2 {
        font-size: 1.75rem;
    }

    .terms-content h3 {
        font-size: 1.3rem;
    }

    .media-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .media-brands-sidebar {
        order: -1;
    }

    .hero-overlay-text {
        font-size: 2rem;
        letter-spacing: 1px;
        padding: 0 1rem;
    }
}

