/* =========================================================
THE CREATIVES 360°
PREMIUM AGENCY STYLE.CSS
OPTIMIZED PRODUCTION VERSION
========================================================= */

/* =========================================================
ROOT VARIABLES
========================================================= */

:root{
    --primary-color:#F5B400;
    --secondary-color:#050505;
    --white:#ffffff;
    --light:#f8f8f8;
    --text:#666666;
    --border:#e9e9e9;

    --radius-sm:16px;
    --radius-md:24px;
    --radius-lg:32px;

    --shadow-sm:0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg:0 20px 60px rgba(0,0,0,0.15);

    --transition:0.4s ease;
}

/* =========================================================
GLOBAL
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#050505;
    color:#fff;
    overflow-x:hidden;
    transition:background .4s ease,color .4s ease;
}

img{
    max-width:100%;
    height:auto;
    transition:var(--transition);
}

a{
    text-decoration:none;
    transition:var(--transition);
}

ul{
    list-style:none;
    padding:0;
    margin:0;
}

.section-padding{
    padding:100px 0;
}

section{
    position:relative;
    z-index:1;
}

/* =========================================================
LIGHT MODE
========================================================= */

body.light-mode{
    background:#f8f8f8;
    color:#111;
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6{
    color:#111 !important;
}

body.light-mode p,
body.light-mode li,
body.light-mode span{
    color:#555 !important;
}

body.light-mode .main-header,
body.light-mode .top-bar{
    background:#fff !important;
    border-bottom:1px solid #eee;
}

body.light-mode .nav-link{
    color:#111 !important;
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active{
    color:var(--primary-color) !important;
}

body.light-mode .hero-section,
body.light-mode .service-hero-section,
body.light-mode .portfolio-hero-section,
body.light-mode .contact-hero-section,
body.light-mode .inner-hero-section{
    background:#050505 !important;
}

body.light-mode .hero-section h1,
body.light-mode .service-hero-section h1,
body.light-mode .portfolio-hero-section h1,
body.light-mode .contact-hero-section h1,
body.light-mode .inner-hero-section h1{
    color:#fff !important;
}

body.light-mode .hero-section p,
body.light-mode .service-hero-section p,
body.light-mode .portfolio-hero-section p,
body.light-mode .contact-hero-section p,
body.light-mode .inner-hero-section p{
    color:#bbb !important;
}

body.light-mode .service-card,
body.light-mode .web-service-card,
body.light-mode .portfolio-card,
body.light-mode .contact-info-card,
body.light-mode .contact-form-wrapper,
body.light-mode .mission-card,
body.light-mode .process-box{
    background:#fff;
}

body.light-mode .main-footer{
    background:#050505 !important;
}

/* =========================================================
TOP BAR
========================================================= */

.top-bar{
    background:#000;
    padding:12px 0;
    font-size:14px;
}

.top-contact a,
.top-social a{
    color:#fff;
}

.top-contact a{
    margin-right:25px;
}

.top-contact i,
.top-social i{
    color:var(--primary-color);
    margin-right:8px;
}

.top-social a{
    margin-left:15px;
}

/* =========================================================
HEADER
========================================================= */

.main-header{
    position:sticky;
    top:0;
    z-index:999;
    background:rgba(0,0,0,0.95);
    backdrop-filter:blur(12px);
}

.navbar{
    padding:18px 0;
}

.navbar-brand img{
    height:65px;
}

.nav-link{
    color:#fff !important;
    margin-left:24px;
    font-size:15px;
    font-weight:500;
    position:relative;
}

.nav-link::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:var(--primary-color);
    transition:var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after{
    width:100%;
}

.nav-link:hover,
.nav-link.active{
    color:var(--primary-color) !important;
}

.navbar-toggler{
    border:none;
    color:#fff;
    font-size:24px;
}

.navbar-toggler:focus{
    box-shadow:none;
}

/* =========================================================
BUTTONS
========================================================= */

.primary-btn,
.secondary-btn,
.header-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50px;
    font-weight:600;
    transition:var(--transition);
}

.primary-btn,
.header-btn{
    background:var(--primary-color);
    color:#000;
    padding:16px 36px;
}

.primary-btn:hover,
.header-btn:hover{
    background:#fff;
    color:#000;
    transform:translateY(-3px);
}

.secondary-btn{
    border:2px solid #fff;
    color:#fff;
    padding:16px 36px;
}

.secondary-btn:hover{
    background:#fff;
    color:#000;
}

/* =========================================================
THEME TOGGLE
========================================================= */

.theme-toggle{
    width:50px;
    height:50px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,0.1);
    background:rgba(255,255,255,0.05);
    color:#fff;
    cursor:pointer;
    margin-right:15px;
    transition:var(--transition);
}

.theme-toggle:hover{
    background:var(--primary-color);
    color:#000;
    transform:rotate(180deg);
}

/* =========================================================
SECTION TITLE
========================================================= */

.section-title{
    margin-bottom:60px;
}

.section-title span{
    color:var(--primary-color);
    text-transform:uppercase;
    letter-spacing:2px;
    font-weight:600;
    font-size:14px;
}

.section-title h2{
    font-size:52px;
    font-weight:800;
    margin-top:18px;
}

.section-title p{
    color:#777;
    margin-top:20px;
    max-width:700px;
}

/* =========================================================
HERO SECTIONS
========================================================= */

.hero-section,
.service-hero-section,
.inner-hero-section,
.contact-hero-section,
.portfolio-hero-section{
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,#050505 0%,#121212 100%);
}

.hero-section,
.service-hero-section,
.contact-hero-section{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding:140px 0 100px;
}

.hero-section::before,
.service-hero-section::before,
.contact-hero-section::before,
.portfolio-hero-section::before,
.inner-hero-section::before{
    content:'';
    position:absolute;
    width:700px;
    height:700px;
    background:rgba(245,180,0,0.08);
    border-radius:50%;
    top:-300px;
    right:-180px;
    filter:blur(120px);
}

.hero-content h1,
.service-hero-content h1,
.inner-hero-content h1,
.contact-hero-content h1,
.portfolio-hero-content h1{
    font-size:72px;
    font-weight:800;
    line-height:1.1;
    margin:25px 0;
    color:#fff;
}

.hero-content p,
.service-hero-content p,
.inner-hero-content p,
.contact-hero-content p,
.portfolio-hero-content p{
    color:#bbb;
    font-size:18px;
    line-height:1.9;
}

.hero-content span,
.service-hero-content span,
.inner-hero-content span,
.contact-hero-content span,
.portfolio-hero-content span{
    color:var(--primary-color);
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:2px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    margin-top:40px;
}

/* =========================================================
CARDS
========================================================= */

.service-card,
.web-service-card,
.process-box,
.mission-card,
.contact-info-card,
.portfolio-card{
    background:#fff;
    border-radius:var(--radius-md);
    padding:40px 30px;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
    height:100%;
    position:relative;
    overflow:hidden;
}

.service-card:hover,
.web-service-card:hover,
.process-box:hover,
.mission-card:hover,
.contact-info-card:hover,
.portfolio-card:hover{
    transform:translateY(-10px);
    box-shadow:var(--shadow-lg);
}

.service-card::before,
.web-service-card::before,
.process-box::before,
.mission-card::before{
    content:'';
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:4px;
    background:var(--primary-color);
}

.service-icon,
.web-service-icon,
.contact-icon,
.mission-icon{
    width:80px;
    height:80px;
    background:rgba(245,180,0,0.1);
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:25px;
    transition:var(--transition);
}

.service-icon i,
.web-service-icon i,
.contact-icon i,
.mission-icon i{
    font-size:34px;
    color:var(--primary-color);
}

.service-card:hover .service-icon,
.web-service-card:hover .web-service-icon,
.contact-info-card:hover .contact-icon,
.mission-card:hover .mission-icon{
    background:var(--primary-color);
}

.service-card:hover i,
.web-service-card:hover i,
.contact-info-card:hover i,
.mission-card:hover i{
    color:#000;
}

/* =========================================================
FORMS
========================================================= */

.contact-form-wrapper,
.contact-form{
    background:#fff;
    padding:50px;
    border-radius:35px;
    box-shadow:var(--shadow-lg);
}

.form-control{
    height:60px;
    border-radius:16px;
    border:1px solid #ddd;
    padding:0 20px;
    box-shadow:none !important;
}

textarea.form-control{
    height:auto;
    padding-top:18px;
}

.form-control:focus{
    border-color:var(--primary-color);
}

/* =========================================================
PORTFOLIO
========================================================= */

.portfolio-image{
    overflow:hidden;
    border-radius:20px;
}

.portfolio-image img{
    width:100%;
    height:320px;
    object-fit:cover;
}

.portfolio-card:hover img{
    transform:scale(1.08);
}

/* =========================================================
FOOTER
========================================================= */

.main-footer{
    position:relative;
    background:#050505;
    color:#fff;
    overflow:hidden;
}

.footer-top{
    padding:110px 0 70px;
}

.footer-widget h4{
    font-size:26px;
    font-weight:700;
    margin-bottom:35px;
}

.footer-links li{
    margin-bottom:18px;
}

.footer-links a{
    color:rgba(255,255,255,0.7);
}

.footer-links a:hover{
    color:var(--primary-color);
    padding-left:10px;
}

.footer-social{
    display:flex;
    gap:15px;
}

.footer-social a{
    width:50px;
    height:50px;
    background:rgba(255,255,255,0.06);
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
}

.footer-social a:hover{
    background:var(--primary-color);
    color:#000;
    transform:translateY(-6px);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.08);
    padding:25px 0;
}

/* =========================================================
WHATSAPP FLOAT
========================================================= */

.whatsapp-float{
    position:fixed;
    right:20px;
    bottom:20px;
    width:62px;
    height:62px;
    background:#25D366;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:28px;
    z-index:999;
    box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

/* =========================================================
BACK TO TOP
========================================================= */

#backToTop{
    position:fixed;
    right:20px;
    bottom:95px;
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:var(--primary-color);
    color:#000;
    font-size:18px;
    z-index:999;
    opacity:0;
    visibility:hidden;
    transition:var(--transition);
}

#backToTop.show{
    opacity:1;
    visibility:visible;
}

/* =========================================================
RESPONSIVE
========================================================= */

@media(max-width:991px){

    .navbar-collapse{
        background:#0b0b0b;
        padding:25px;
        border-radius:20px;
        margin-top:20px;
    }

    body.light-mode .navbar-collapse{
        background:#fff;
    }

    .nav-link{
        margin-left:0;
        margin-bottom:14px;
    }

    .hero-content h1,
    .service-hero-content h1,
    .contact-hero-content h1,
    .portfolio-hero-content h1,
    .inner-hero-content h1{
        font-size:54px;
    }

    .section-title h2{
        font-size:42px;
    }

}

@media(max-width:767px){

    .top-bar{
        display:none;
    }

    .section-padding{
        padding:70px 0;
    }

    .hero-section,
    .service-hero-section,
    .contact-hero-section{
        min-height:auto;
        padding:100px 0 70px;
        text-align:center;
    }

    .hero-content h1,
    .service-hero-content h1,
    .contact-hero-content h1,
    .portfolio-hero-content h1,
    .inner-hero-content h1{
        font-size:40px;
        line-height:1.3;
    }

    .section-title h2{
        font-size:34px;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .primary-btn,
    .secondary-btn{
        width:100%;
    }

    .contact-form-wrapper,
    .contact-form{
        padding:35px 25px;
    }

    .portfolio-image img{
        height:260px;
    }

}

@media(max-width:480px){

    .hero-content h1,
    .service-hero-content h1,
    .contact-hero-content h1,
    .portfolio-hero-content h1,
    .inner-hero-content h1{
        font-size:32px;
    }

    .section-title h2{
        font-size:28px;
    }

}