/* ================= GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}
h1, h2, h3, .quote {
    font-family: 'Montserrat', sans-serif;
}
body {
    padding-top: 86px; 
}
@media screen and (max-width: 768px){
    body {
        padding-top: 70px; 
    }
}
/* ================== HEADER ================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;          
    height: 86px;           
    padding: 0;
    background: rgba(80, 79, 79, 0.952);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    z-index: 1000;
}

/* Header style when scrolled */
header.scrolled {
    background: rgba(45, 55, 72, 1);  
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

/* Navigation container inside header */
.nav-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: flex-start; /* keeps items closer */
    align-items: center;
    gap: 100px; /* controls space between logo and menu */
    padding: 0 20px;
}

/* Logo */
.logo {
    height: 80px;
    width: auto;
    mix-blend-mode: lighten;

    /* Bottom-only shadow */
    filter: drop-shadow(0px 8px 8px rgba(0, 0, 0, 0.5));
    transition: filter 0.3s ease;
}

/* Optional hover effect: intensify the shadow */
.logo:hover {
    filter: drop-shadow(0px 12px 12px rgba(0, 0, 0, 0.6));
}
/* Navigation links */
nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    position: relative;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

/* Hover / active effect underline */
nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #f06e03; 
    transition: 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* ================== Page Header ================== */
.page-header {
    position: relative;
    background: linear-gradient(135deg, #04274d 0%, #2d3748 100%);
    color: #ffffff;
    text-align: center;
    padding: 4rem 1rem 2rem;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.05) 0px,
        rgba(255,255,255,0.05) 2px,
        transparent 2px,
        transparent 20px
    );
    animation: diagonalMove 10s linear infinite;
    z-index: 0;
}

@keyframes diagonalMove {
    30% { transform: translate(0, 0) rotate(15deg); }
    100% { transform: translate(60px, 40px) rotate(85deg); }
}

.page-header h1 {
    position: relative;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    z-index: 1;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.page-header h2.page-quote {
    position: relative;
    font-size: 1.25rem;
    font-weight: 400;
    margin: 1rem 0 0;
    z-index: 1;
    font-style: italic;
    color: #f5f5f5;
}

.accent-bar {
    width: 80px;
    height: 6px;
    background-color: #d27a28;
    margin: 1.5rem auto 0;
    border-radius: 3px;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ================== Responsive Design for Mobile ================ */
@media screen and (max-width: 768px) {
    /* Header adjustments for small screens */
    header {
        height: auto;
        padding: 12px 0;
        justify-content: space-between;
    }

    /* Navigation links adjustments */
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin-left: 0;
        margin-top: 10px;
        font-size: 14px;
    }

    /* Logo size adjustment */
    .logo {
        height: 100px;
    }

    /* Page header title adjustments */
    .page-header {
        padding: 3rem 1rem;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .page-header h2.page-quote {
        font-size: 1rem;
    }
    .accent-bar {
        width: 60px;
        height: 4px;
    }
    
    /* Dropdown menu adjustments (optional) */
    nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
    }

    /* Mobile menu icon (burger) styles */
    .menu-icon {
        display: block;
        cursor: pointer;
    }
    .menu-icon .bar {
        width: 30px;
        height: 4px;
        background-color: #fff;
        margin: 5px;
        transition: 0.3s;
    }

    /* Mobile navigation toggle when clicked */
    nav.open ul {
        display: flex;
    }

    nav.open .menu-icon .bar:nth-child(1) {
        transform: rotate(45deg);
        position: relative;
        top: 10px;
    }

    nav.open .menu-icon .bar:nth-child(2) {
        opacity: 0;
    }

    nav.open .menu-icon .bar:nth-child(3) {
        transform: rotate(-45deg);
        position: relative;
        top: -10px;
    }
}


/* ================== Page Header ===============*/

/* Background decorative shapes */
.about-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at 30% 30%, rgba(58, 54, 106, 0.15), transparent 70%);
    border-radius: 50%;
    top: -50px;
    left: -100px;
    z-index: 0;
    transform: rotate(25deg);
    pointer-events: none;
}

.about-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 70% 70%, rgba(58, 54, 106, 0.1), transparent 70%);
    border-radius: 50%;
    bottom: -50px;
    right: -80px;
    z-index: 0;
    transform: rotate(-20deg);
    pointer-events: none;
}

/* ================= FOOTER ================= */
footer {
    background: #2d3748;
    color: #cbd5e1;
    padding: 30px 30px 30px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1 1 250px;
    margin: 20px 10px;
}

.footer-section h3 {
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}


/* ================= SOCIAL ICONS 3D ================= */
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #374151;
    color: white;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px) rotateY(10deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    background: #ea7e28;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 20px;
}
