@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary: #273578;
    --primary-light: #3d4f9f;
    --primary-dark: #273578 ;

    --accent: #F68E1F;
    --accent-hover: #F68E1F;

    --white: #FFFFFF;
    --black: #111111;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #1c2656 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #f47e00 100%);

    /* Backgrounds */
    --bg-light: #f8f9fa;
    --bg-gray: #f2f4f8;
    --bg-dark: #273578;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Sizes */
    --container-width: 1200px;
    --nav-height: 80px;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(39, 53, 120, 0.12);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: #4a5568;
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* UI Components */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(39, 53, 120, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(39, 53, 120, 0.3);
    color: var(--white);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(246, 142, 31, 0.2);
    padding: 0.65rem 1.6rem;
    font-size: 0.95rem;
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(246, 142, 31, 0.3);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* Sections */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title .subtitle {
    display: inline-block;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    background: rgba(246, 142, 31, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 30px;
}

.section-dark {
    background: var(--gradient-primary);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark p {
    color: var(--white);
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

/* =========================
   NAVBAR
========================= */

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.4s ease;
    background: rgba(255,255,255,0.96);
}

header.scrolled{
    background: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

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

    min-height: 72px;
}

/* LOGO */

.logo img{
    width: 115px;
    transition: 0.4s ease;
}

/* NAV MENU */

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

.nav-link,
.dropdown-toggle{
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    background: transparent;
    border: none;
    cursor: pointer;
}

/* BEFORE SCROLL */

header .nav-link,
header .dropdown-toggle{
    color: var(--primary);
}

/* AFTER SCROLL */

header.scrolled .nav-link,
header.scrolled .dropdown-toggle{
    color: var(--white);
}

/* HOVER */

.nav-link:hover,
.dropdown-toggle:hover{
    color: var(--accent);
}

/* =========================
   DROPDOWN
========================= */

.dropdown{
    position: relative;
}

.dropdown-toggle i{
    font-size: 12px;
    transition: 0.3s ease;
}

.dropdown:hover .dropdown-toggle i{
    transform: rotate(180deg);
}

.dropdown-menu{
    position: absolute;
    top: 120%;
    left: 0;

    width: 290px;

    background: white;
    border-radius: 18px;

    padding: 15px 0;

    box-shadow: 0 20px 60px rgba(0,0,0,0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition: 0.35s ease;
    z-index: 999;
}

.dropdown:hover .dropdown-menu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li{
    list-style: none;
}

.dropdown-menu li a{
    display: block;
    padding: 14px 24px;

    color: var(--primary) !important;

    font-weight: 600;
    transition: 0.3s ease;
}

.dropdown-menu li a:hover{
    background: rgba(255,153,0,0.08);
    color: var(--accent) !important;
    padding-left: 30px;
}

/* =========================
   HAMBURGER
========================= */

.mobile-menu-btn{
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span{
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    border-radius: 10px;
    transition: 0.3s ease;
    background: var(--primary);
}

/* SCROLLED HAMBURGER */

header.scrolled .mobile-menu-btn span{
    background: white;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .mobile-menu-btn{
        display: block;
    }

    .logo img{
        width: 80px;
    }

    .nav-menu{
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;

        background: var(--primary);

        flex-direction: column;
        justify-content: center;

        transition: 0.4s ease;
    }

    .nav-menu.active{
        right: 0;
    }

    .nav-link,
    .dropdown-toggle{
        color: white !important;
    }

    .dropdown-menu{
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;

        background: transparent;
        box-shadow: none;

        width: 100%;

        display: none;
    }

    .dropdown.active .dropdown-menu{
        display: flex;
        flex-direction: column;
    }

    .dropdown-menu li a{
        color: white !important;
        padding: 12px 10px;
    }

    .mobile-menu-btn.active span:nth-child(1){
        transform: rotate(45deg) translate(5px,5px);
    }

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

    .mobile-menu-btn.active span:nth-child(3){
        transform: rotate(-45deg) translate(7px,-7px);
    }
}



/* Footer */
footer {
    background: var(--primary);
    color: #a0aec0;
    padding: 6rem 0 2rem;
    font-size: 0.95rem;
}

.footer-grid{
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.footer-col{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-col:first-child{
    margin-top: -35px;
}


/* BIG LOGO */
.footer-logo{
    margin-top: -40px;
    width: 190px;
    height: auto;
    margin-bottom: -35px;
    filter: brightness(0) invert(1);
}
/* DESCRIPTION */
.footer-col:first-child p {
    line-height: 1.9;
    font-size: 1.05rem;
    max-width: 420px;
}

.footer-col:first-child{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
    margin-top: -10px;
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #a0aec0;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* CONTACT */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact i {
    color: orange;
    margin-top: 5px;
    font-size: 18px;
}

/* SOCIAL */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
}

.social-link:hover {
    background: orange;
    transform: translateY(-3px);
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media(max-width:768px) {
    .logo img {
        width: 75px;
    }
}

/* =========================
   DROPDOWN MENU
========================= */

.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;

    font-size: inherit;
    font-family: inherit;
    font-weight: 600;

    color: var(--primary);

    cursor: pointer;

    padding: 0;
}

.dropdown-toggle:focus,
.dropdown-toggle:active {
    outline: none;
    border: none;
    box-shadow: none;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;

    width: 290px;

    background: white;
    border-radius: 18px;

    padding: 15px 0;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition: 0.35s ease;

    z-index: 999;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;

    padding: 14px 24px;

    color: var(--primary);

    font-weight: 600;

    transition: 0.3s ease;
}

.dropdown-menu li a:hover {
    background: rgba(255, 153, 0, 0.08);
    color: var(--accent);
    padding-left: 30px;
}

/* MOBILE */

@media(max-width: 992px) {

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;

        width: 100%;

        box-shadow: none;

        background: transparent;

        padding-top: 10px;

        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .dropdown-menu li a {
        padding: 12px 10px;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* =========================
   DIRECTOR SECTION
========================= */

.director-section {
    padding: 100px 0;
    background: #fff;
}

.director-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.director-image img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.director-content h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.director-content h3 {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 25px;
}

.director-content p {
    margin-bottom: 18px;
    line-height: 1.9;
}

.director-stats {
    display: flex;
    gap: 25px;
    margin-top: 35px;
}

.director-stat {
    background: linear-gradient(135deg, #2e1a87, #4a28b5);
    color: #fff;
    padding: 22px 30px;
    border-radius: 18px;
    text-align: center;
    min-width: 140px;
    box-shadow: 0 10px 30px rgba(74, 40, 181, 0.25);
}

.director-stat h4 {
    font-size: 34px;
    margin-bottom: 5px;
    color: #fff;
}

/* =========================
   TEAM SECTION
========================= */

.team-section {
    padding: 110px 0;
    background: linear-gradient(135deg, #2e1a87, #4727aa);
}

.team-section .section-title h2,
.team-section .section-title p,
.team-section .section-title .subtitle {
    color: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 70px;
}

.team-card {
    background: #fff;
    border-radius: 22px;
    padding: 35px 20px;
    text-align: center;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}

.team-image {
    width: 130px;
    height: 130px;
    margin: auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f59e0b;
    margin-bottom: 25px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 10px;
}

.team-card span {
    color: #666;
    font-size: 17px;
}

/* =========================
   PROCESS SECTION
========================= */

.work-process-section {
    padding: 110px 0;
    background: #f7f7fb;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 70px;
}

.process-card {
    background: linear-gradient(135deg, #2e1a87, #4b2cb8);
    padding: 40px 35px;
    border-radius: 22px;
    color: #fff;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    transition: 0.5s;
}

.process-card:hover::before {
    left: 100%;
}

.process-card:hover {
    transform: translateY(-10px);
}

.process-card i {
    font-size: 45px;
    margin-bottom: 25px;
    color: #f59e0b;
}

.process-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
}

.process-card p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px) {

    .director-grid,
    .team-grid,
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .director-content h2 {
        font-size: 38px;
    }
}

@media(max-width:768px) {

    .director-grid,
    .team-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .director-stats {
        flex-direction: column;
    }

    .director-content h2 {
        font-size: 32px;
    }

    .director-content h3 {
        font-size: 26px;
    }
}

/* =========================
   SERVICE SUB PAGES NAVBAR
========================= */

header.scrolled .nav-link:hover,
header.scrolled .dropdown-toggle:hover,
header.scrolled .dropdown-menu li a:hover {
    color: var(--accent) !important;
}

/* MOBILE MENU */

@media(max-width:768px){

    .nav-menu{
        background: var(--primary);
    }

    .nav-menu .nav-link,
    .nav-menu .dropdown-toggle,
    .nav-menu .dropdown-menu li a{
        color: var(--white) !important;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .dropdown-toggle:hover,
    .nav-menu .dropdown-menu li a:hover{
        color: var(--accent) !important;
    }
}

/* =========================================
   PREMIUM DESKTOP DROPDOWN AFTER SCROLL
========================================= */

@media(min-width: 769px){

    header.scrolled .dropdown-menu{

        background: rgba(20, 20, 40, 0.78);

        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);

        border: 1px solid rgba(255,255,255,0.12);

        box-shadow:
            0 15px 40px rgba(0,0,0,0.28),
            inset 0 1px 0 rgba(255,255,255,0.08);

        overflow: hidden;

        position: absolute;
    }

    /* Bubble Glow Effect */

    header.scrolled .dropdown-menu::before{
        content: "";

        position: absolute;

        width: 220px;
        height: 220px;

        background: radial-gradient(
            circle,
            rgba(255,255,255,0.18) 0%,
            transparent 70%
        );

        top: -80px;
        right: -60px;

        border-radius: 50%;

        z-index: 0;
    }

    header.scrolled .dropdown-menu::after{
        content: "";

        position: absolute;

        width: 160px;
        height: 160px;

        background: radial-gradient(
            circle,
            rgba(246,142,31,0.20) 0%,
            transparent 70%
        );

        bottom: -60px;
        left: -40px;

        border-radius: 50%;

        z-index: 0;
    }

    /* Menu Items */

    header.scrolled .dropdown-menu li{
        position: relative;
        z-index: 2;
    }

    header.scrolled .dropdown-menu li a{

        color: white !important;

        font-weight: 500;
    }

    header.scrolled .dropdown-menu li a:hover{

        background: rgba(255,255,255,0.08);

        color: var(--accent) !important;

        padding-left: 30px;
    }

}

/* =========================
   MOBILE FOOTER FIX
========================= */

@media (max-width:768px){

    body,
    html{
        overflow-x: hidden;
    }

    footer{
        overflow-x: hidden;
    }

    .container{
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-grid{

        display: grid;

        grid-template-columns: 1fr !important;

        gap: 40px;

        width: 100%;
    }

    .footer-col{
        width: 100%;
    }

    .footer-col p{
        width: 100%;
        font-size: 16px;
        line-height: 1.8;
    }

    .footer-links{
        padding-left: 0;
    }

    .footer-links li{
        width: 100%;
    }

    .footer-contact li{

        display: flex;

        align-items: flex-start;

        gap: 12px;

        width: 100%;
    }

    .footer-contact li span,
    .footer-contact li a{

        word-break: break-word;

        overflow-wrap: break-word;
    }

    .footer-contact i{
        min-width: 20px;
        margin-top: 6px;
    }

    .social-links{
        flex-wrap: wrap;
    }

    .footer-bottom{

        flex-direction: column;

        gap: 15px;

        text-align: center;
    }

    .footer-legal{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
}

.footer-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-legal{
    display: flex;
    gap: 5px;
    margin-left: auto;
    margin-top: -22px;
}