/* ===================================
   OPTICOM DIGIMEDIA
   PREMIUM CSS
=================================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

html{
scroll-behavior:smooth;
}

:root{

--primary:#0B2D6B;
--secondary:#FFC107;
--white:#fff;
--light:#F7F9FC;
--dark:#111827;
--text:#333;
--shadow:0 10px 30px rgba(0,0,0,.08);

}

body{

background:var(--white);
color:var(--text);
line-height:1.7;
overflow-x:hidden;

}

.container{

width:90%;
max-width:1200px;
margin:auto;

}

/* ===========================
HEADER
=========================== */

.header{

position:sticky;
top:0;
left:0;
width:100%;
background:#fff;
box-shadow:0 2px 20px rgba(0,0,0,.08);
z-index:999;

}

.header .container{

display:flex;
justify-content:space-between;
align-items:center;
padding:18px 0;

}

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    width:220px;
    height:auto;
    display:block;
}

.navbar ul{

display:flex;
gap:35px;
list-style:none;

}

.navbar a{

text-decoration:none;
color:#111;
font-weight:600;
transition:.3s;

}

.navbar a:hover{

color:var(--primary);

}

.call-btn{

background:var(--secondary);
color:#000;
padding:12px 24px;
border-radius:10px;
font-weight:700;
text-decoration:none;
transition:.3s;

}

.call-btn:hover{

transform:translateY(-3px);

}

/* ===========================
HERO
=========================== */

.hero{

background:linear-gradient(135deg,#0B2D6B,#15479B);
padding:100px 0;
color:white;

}

.hero-content{

display:grid;
grid-template-columns:1fr 1fr;
align-items:center;
gap:60px;

}

.badge{

display:inline-block;
background:var(--secondary);
color:#000;
padding:10px 20px;
border-radius:30px;
font-weight:700;
margin-bottom:25px;

}

.hero h1{

font-size:56px;
line-height:1.15;
margin-bottom:20px;

}

.hero p{

font-size:20px;
margin-bottom:25px;

}

.hero-features{

display:flex;
gap:15px;
flex-wrap:wrap;
margin-bottom:30px;

}

.hero-features div{

background:rgba(255,255,255,.12);
padding:10px 16px;
border-radius:8px;

}

.hero-buttons{

display:flex;
gap:15px;
flex-wrap:wrap;

}

.btn-primary{

background:var(--secondary);
padding:15px 28px;
border-radius:10px;
text-decoration:none;
font-weight:700;
color:#000;
transition:.3s;

}

.btn-primary:hover{

transform:translateY(-3px);

}

.btn-secondary{

border:2px solid white;
padding:15px 28px;
border-radius:10px;
text-decoration:none;
color:white;
transition:.3s;

}

.btn-secondary:hover{

background:white;
color:#0B2D6B;

}

.hero-image img{

width:100%;
border-radius:20px;
box-shadow:0 20px 50px rgba(0,0,0,.25);

}

/* ===========================
COMMON SECTION
=========================== */

section{

padding:90px 0;

}

section h2{

font-size:42px;
text-align:center;
margin-bottom:50px;
color:var(--primary);

}
/* ===========================
ABOUT SECTION
=========================== */

.about{

background:#fff;

}

.card-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;

}

.card{

background:#fff;
padding:35px 30px;
border-radius:18px;
box-shadow:var(--shadow);
transition:.35s;

}

.card:hover{

transform:translateY(-10px);
box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.card h3{

color:var(--primary);
margin-bottom:15px;
font-size:22px;

}

.card p{

color:#555;
font-size:16px;

}

/* ===========================
CURRICULUM
=========================== */

.curriculum{

background:var(--light);

}

.curriculum-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;

}

.module{

background:#fff;
padding:30px;
border-radius:18px;
box-shadow:var(--shadow);
transition:.3s;

}

.module:hover{

transform:translateY(-8px);

}

.module h3{

color:var(--primary);
margin-bottom:18px;

}

.module ul{

padding-left:20px;

}

.module li{

margin-bottom:10px;
color:#555;

}

/* ===========================
TRAINER
=========================== */

.trainer{

background:#fff;

}

.trainer-content{

display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;

}

.trainer-image img{

width:100%;
max-width:420px;
display:block;
margin:auto;
border-radius:20px;
box-shadow:0 20px 45px rgba(0,0,0,.18);

}

.trainer-text h3{

font-size:34px;
color:var(--primary);
margin-bottom:20px;

}

.trainer-text p{

margin-bottom:20px;
font-size:17px;

}

.trainer-text ul{

list-style:none;
margin-bottom:30px;

}

.trainer-text ul li{

margin-bottom:12px;
font-size:17px;

}

/* ===========================
LEARNING JOURNEY
=========================== */

.journey{

background:var(--light);

}

.timeline{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:20px;

}

.step{

background:#fff;
padding:30px 20px;
text-align:center;
border-radius:18px;
box-shadow:var(--shadow);
transition:.3s;

}

.step:hover{

transform:translateY(-8px);

}

.step span{

display:inline-flex;
align-items:center;
justify-content:center;
width:60px;
height:60px;
border-radius:50%;
background:var(--primary);
color:#fff;
font-size:22px;
font-weight:700;
margin-bottom:18px;

}

.step h3{

margin-bottom:12px;
color:var(--primary);

}

/* ===========================
CAREERS
=========================== */

.careers{

background:#fff;

}

.career-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;

}

.career-card{

background:#fff;
padding:30px;
border-radius:18px;
text-align:center;
box-shadow:var(--shadow);
transition:.3s;

}

.career-card:hover{

transform:translateY(-8px);

}

.career-card h3{

color:var(--primary);
margin-bottom:12px;

}

.career-card p{

color:#666;

}
/* ===========================
PRICING
=========================== */

.pricing{

background:linear-gradient(135deg,#0B2D6B,#163E8A);
color:#fff;

}

.pricing h2{

color:#fff;

}

.price-card{

max-width:500px;
margin:auto;
background:#fff;
color:#111;
padding:45px;
border-radius:20px;
text-align:center;
box-shadow:0 20px 45px rgba(0,0,0,.2);

}

.old-price{

font-size:24px;
text-decoration:line-through;
color:#888;
margin-bottom:10px;

}

.price-card h3{

font-size:60px;
color:var(--primary);
margin-bottom:10px;

}

.duration{

font-size:18px;
margin-bottom:25px;
color:#555;

}

.price-card ul{

list-style:none;
margin:25px 0;

}

.price-card li{

margin-bottom:12px;
font-size:17px;

}

/* ===========================
PLACEMENT
=========================== */

.placement{

background:
linear-gradient(rgba(11,45,107,.82),rgba(11,45,107,.82)),
url("../Images/placement-banner.jpg");

background-size:contain;
background-repeat:no-repeat;
background-position:center;
background-color:#0B2D6B;
text-align:center;
color:#fff;

}

.placement h2{

color:#fff;

}

.placement p{

max-width:800px;
margin:25px auto;
font-size:18px;

}

/* ===========================
TESTIMONIALS
=========================== */

.testimonials{

background:#F8FAFC;

}

.testimonial-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:25px;

}

.testimonial-card{

background:#fff;
padding:30px;
border-radius:18px;
box-shadow:var(--shadow);
transition:.3s;

}

.testimonial-card:hover{

transform:translateY(-8px);

}

.testimonial-card h4{

margin-top:20px;
color:var(--primary);

}

/* ===========================
FAQ
=========================== */

.faq{

background:#fff;

}

.faq-item{

background:#F8FAFC;
padding:25px;
margin-bottom:18px;
border-radius:15px;
box-shadow:0 5px 15px rgba(0,0,0,.06);

}

.faq-item h3{

cursor:pointer;
color:var(--primary);
margin-bottom:10px;

}

.faq-item p{

color:#555;

}

/* ===========================
CONTACT
=========================== */

.contact{

background:#F8FAFC;

}

.contact form{

max-width:700px;
margin:auto;
background:#fff;
padding:40px;
border-radius:20px;
box-shadow:var(--shadow);

}

.contact input,
.contact textarea{

width:100%;
padding:15px;
margin-bottom:18px;
border:1px solid #ddd;
border-radius:10px;
font-size:16px;
outline:none;

}

.contact input:focus,
.contact textarea:focus{

border-color:var(--primary);

}

.contact button{

width:100%;
padding:16px;
background:var(--secondary);
border:none;
border-radius:10px;
font-size:18px;
font-weight:700;
cursor:pointer;
transition:.3s;

}

.contact button:hover{

transform:translateY(-3px);

}

/* ===========================
FOOTER
=========================== */

footer{

background:#111827;
color:#fff;
padding:60px 20px;
text-align:center;

}

.footer-logo{

height:70px;
margin-bottom:20px;

}

footer h3{

margin-bottom:15px;

}

footer p{

margin-bottom:10px;
color:#ddd;

}

/* ===========================
WHATSAPP BUTTON
=========================== */

.whatsapp-btn{

position:fixed;
bottom:20px;
right:20px;

background:#25D366;
color:#fff;

padding:15px 25px;

border-radius:50px;
text-decoration:none;
font-weight:700;

box-shadow:0 10px 20px rgba(0,0,0,.25);

z-index:999;

transition:.3s;

}

.whatsapp-btn:hover{

transform:scale(1.08);

}
/* ===========================
RESPONSIVE DESIGN
=========================== */

@media (max-width:1024px){

.hero-content,
.trainer-content{

grid-template-columns:1fr;
text-align:center;

}

.hero-image{

order:-1;

}

.hero h1{

font-size:42px;

}

.hero p{

font-size:18px;

}

.hero-buttons{

justify-content:center;

}

.hero-features{

justify-content:center;

}

.navbar ul{

gap:18px;

}

section{

padding:80px 0;

}

}
/* ===========================
TABLET + MOBILE HEADER FIX
=========================== */

@media (max-width:768px){

    .header .container{
        flex-direction:column;
        align-items:center;
        gap:5px;
        padding:10px 0;
    }

    /* Logo Fix */
    .logo{
        justify-content:center;
        width:100%;
    }

    .logo img{
        width:180px;
        max-width:80%;
        height:auto;
        object-fit:contain;
    }

    /* Navigation */
    .navbar{
        width:100%;
    }

    .navbar ul{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:12px 18px;
        padding:0;
        margin:0;
    }

    .navbar a{
        font-size:14px;
        font-weight:600;
    }

    .call-btn{
        display:none;
    }

    /* Hero Section */
    .hero{
        padding:70px 0;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:17px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .btn-primary,
    .btn-secondary{
        width:260px;
        text-align:center;
    }

    .timeline{
        grid-template-columns:repeat(2,1fr);
    }

    .card-grid,
    .curriculum-grid,
    .career-grid,
    .testimonial-grid{
        grid-template-columns:1fr;
    }

    .price-card{
        padding:30px;
    }

    .price-card h3{
        font-size:48px;
    }

    section h2{
        font-size:32px;
    }
}



/* ===========================
SCROLL ANIMATION
=========================== */

.fade-up{

opacity:0;
transform:translateY(40px);
transition:all .8s ease;

}

.fade-up.show{

opacity:1;
transform:translateY(0);

}

/* ===========================
SMOOTH HOVER EFFECT
=========================== */

.card,
.module,
.career-card,
.testimonial-card,
.step,
.price-card{

transition:all .35s ease;

}

.card:hover,
.module:hover,
.career-card:hover,
.testimonial-card:hover,
.step:hover,
.price-card:hover{

transform:translateY(-10px);

}

/* ===========================
IMAGE SETTINGS
=========================== */

img{

max-width:100%;
display:block;

}

/* ===========================
SELECTION COLOR
=========================== */

::selection{

background:#FFC107;
color:#000;

}

/* ===========================
CUSTOM SCROLLBAR
=========================== */

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#f1f1f1;

}

::-webkit-scrollbar-thumb{

background:#0B2D6B;
border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

background:#163E8A;

}