/* =========================================
   KIET IJCE – PROFESSIONAL REFINED DESIGN
   Elegant • Academic • Modern Premium
   ========================================= */


/* ================= VARIABLES ================= */

:root{

--primary:#0a4fff;
--primary-dark:#072fc7;
--accent:#00c6ff;

--bg-light:#f4f7ff;
--bg-white:#ffffff;

--text-dark:#0f172a;
--text-light:#5f6b85;

--gradient-main:linear-gradient(135deg,#0a4fff,#00c6ff);
--shadow-soft:0 10px 30px rgba(0,0,0,0.06);
--shadow-hover:0 18px 40px rgba(10,79,255,0.15);

--radius:16px;

}


/* ================= RESET ================= */

*,
*::before,
*::after{
box-sizing:border-box;
margin:0;
padding:0;
}

body{
font-family:'Inter',sans-serif;
background:var(--bg-light);
color:var(--text-dark);
line-height:1.7;
overflow-x:hidden;
}

html{
scroll-behavior:smooth;
}


/* ================= GLOBAL SPACING ================= */

.container{
width:92%;
max-width:1180px;
margin:auto;
}

.section{
padding:110px 0;
position:relative;
}


/* ================= FLOATING BACKGROUND GLOW ================= */

.section::before{
content:"";
position:absolute;
width:500px;
height:500px;
background:var(--gradient-main);
opacity:.04;
border-radius:50%;
top:-200px;
right:-200px;
z-index:-1;
}


/* ================= HEADER ================= */

.main-header{
position:sticky;
top:0;
z-index:999;
background:rgba(255,255,255,0.8);
backdrop-filter:blur(18px);
box-shadow:0 4px 20px rgba(0,0,0,0.04);
}

/* authbar */

.authbar{
background:var(--gradient-main);
padding:8px 0;
}

.authbar .container{
display:flex;
justify-content:flex-end;
}

.auth-links{
display:flex;
gap:20px;
}

.auth-links a{
color:white;
text-decoration:none;
font-size:14px;
font-weight:500;
transition:.3s;
}

.auth-links a:hover{
opacity:.8;
}

/* topbar */

.topbar{
display:flex;
align-items:center;
justify-content:space-between;
padding:20px 0;
}


/* ================= LOGO ================= */

.logo-area{
display:flex;
align-items:center;
gap:16px;
}

.logo-area img{
width:55px;
filter:drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.title h1{
font-family:'Playfair Display',serif;
font-size:26px;
letter-spacing:.4px;
}

.title span{
font-size:13px;
color:var(--text-light);
}


/* ================= NAV ================= */

.nav-links{
display:flex;
gap:30px;
list-style:none;
}

.nav-links a{
text-decoration:none;
color:var(--text-dark);
font-weight:500;
font-size:15px;
position:relative;
padding-bottom:6px;
transition:.3s;
}

.nav-links a::after{
content:"";
position:absolute;
left:0;
bottom:0;
width:0;
height:2px;
background:var(--gradient-main);
transition:.3s;
}

.nav-links a:hover{
color:var(--primary);
}

.nav-links a:hover::after,
.nav-links .active::after{
width:100%;
}


/* ================= HERO ================= */

.hero{
height:480px;
position:relative;
overflow:hidden;
}

.slides:first-child{
opacity:1;
}

.slides{
position:absolute;
width:100%;
height:100%;
opacity:0;
transition:opacity 1s ease;
}

.slides.active{
opacity:1;
}

.slides img{
width:100%;
height:100%;
object-fit:cover;
animation:slowZoom 20s linear infinite;
}

@keyframes slowZoom{
from{transform:scale(1);}
to{transform:scale(1.08);}
}

.overlay{
position:absolute;
width:100%;
height:100%;
background:linear-gradient(
120deg,
rgba(10,79,255,.85),
rgba(0,198,255,.6)
);
}

.hero-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
text-align:center;
color:#0f172a;
padding:35px 50px;
border-radius:20px;
background:rgba(255,255,255,0.08);
backdrop-filter:blur(10px);
}

.hero-content h2{
font-family:'Playfair Display',serif;
font-size:48px;
line-height:1.2;
text-shadow:0 10px 30px rgba(0,0,0,0.3);
}


/* ================= HERO DOTS ================= */

.dots{
position:absolute;
bottom:25px;
width:100%;
text-align:center;
}

.dot{
width:10px;
height:10px;
border-radius:50%;
background:white;
opacity:.4;
display:inline-block;
margin:6px;
cursor:pointer;
transition:.3s;
}

.dot.active{
opacity:1;
transform:scale(1.5);
}


/* ================= SECTION HEADINGS ================= */

.section-header{
text-align:center;
margin-bottom:60px;
}

.section-header h2{
font-family:'Playfair Display',serif;
font-size:38px;
}

.underline{
width:70px;
height:4px;
background:var(--gradient-main);
margin:16px auto;
border-radius:10px;
}

.center-title{
text-align:center;
font-family:'Playfair Display',serif;
font-size:36px;
margin-bottom:60px;
}


/* ================= INTRO TEXT ================= */

.intro{
max-width:820px;
margin:0 auto 30px auto;
font-size:17px;
color:var(--text-light);
text-align:center;
}


/* ================= ACCORDION ================= */

.topics-accordion{
max-width:900px;
margin:60px auto;
}

.accordion-item{
background:white;
border-radius:18px;
margin-bottom:20px;
box-shadow:var(--shadow-soft);
overflow:hidden;
transition:.3s;
border:1px solid rgba(10,79,255,0.05);
}

.accordion-item:hover{
transform:translateY(-6px);
box-shadow:var(--shadow-hover);
}

.accordion-header{
padding:22px 26px;
font-size:18px;
font-weight:600;
cursor:pointer;
border:none;
background:linear-gradient(
to right,
rgba(10,79,255,0.05),
rgba(0,198,255,0.05)
);
position:relative;
padding-right:60px;
}

.accordion-header::after{
content:"+";
position:absolute;
right:18px;
top:50%;
transform:translateY(-50%);
width:28px;
height:28px;
border-radius:50%;
background:var(--gradient-main);
color:white;
display:flex;
align-items:center;
justify-content:center;
font-size:18px;
font-weight:600;
transition:.3s;
}

.accordion-header.active::after{
content:"–";
}

.accordion-content{
max-height:0;
overflow:hidden;
transition:max-height .4s ease;
background:white;
}

.accordion-content ul{
padding:22px 30px;
}

.accordion-content li{
padding:8px 0;
color:#334155;
transition:.2s;
}

.accordion-content li:hover{
color:var(--primary);
transform:translateX(6px);
}


/* ================= BOARD HERO ================= */

.board-hero{
background:var(--gradient-main);
color:white;
text-align:center;
padding:120px 0;
position:relative;
overflow:hidden;
}

.board-hero h2{
font-family:'Playfair Display',serif;
font-size:42px;
margin-bottom:15px;
}

.board-hero p{
font-size:18px;
margin-bottom:30px;
opacity:.9;
}


/* ================= CARDS ================= */

/* ✅ UPDATED GRID (3 PER ROW) */

.editors-grid{
display:grid;
grid-template-columns:repeat(3, 1fr);
gap:30px;
max-width:1100px;
margin:0 auto;
}

.editor-card,
.editor-card-small{
background:white;
padding:28px;
border-radius:var(--radius);
box-shadow:var(--shadow-soft);
transition:.35s;
text-align:left;
height:100%;
}

.editor-card{
max-width:600px;
margin:0 auto 50px auto;
}

.editor-card:hover,
.editor-card-small:hover{
transform:translateY(-6px);
box-shadow:var(--shadow-hover);
}


/* ================= RESPONSIVE GRID ================= */

@media(max-width:992px){
.editors-grid{
grid-template-columns:repeat(2, 1fr);
}
}

@media(max-width:600px){
.editors-grid{
grid-template-columns:1fr;
}
}


/* ================= BUTTONS ================= */

.btn{
background:white;
color:var(--primary);
padding:12px 24px;
border-radius:10px;
text-decoration:none;
font-weight:600;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
transition:.3s;
}

.btn:hover{
transform:translateY(-4px);
}

.btn-outline{
border:2px solid white;
color:white;
padding:12px 24px;
border-radius:10px;
text-decoration:none;
transition:.3s;
}

.btn-outline:hover{
background:white;
color:var(--primary);
}


/* ================= FOOTER ================= */

footer{
background:var(--gradient-main);
color:white;
text-align:center;
padding:30px;
margin-top:80px;
font-size:14px;
}


/* ================= MOBILE ================= */

@media(max-width:768px){

.hero{
height:420px;
}

.hero-content h2{
font-size:28px;
}

.nav-links{
display:none;
}

.section{
padding:80px 0;
}

}
/* =========================================
   CONTACT SECTION – CENTER GRADIENT GLASS
   ========================================= */

/* =========================================
   CONTACT SECTION – PERFECT CENTER
   ========================================= */
#contactSection{
  scroll-margin-top:120px;
}
.contact-section{
background:var(--gradient-main);
padding:140px 0;
text-align:center;
position:relative;
overflow:hidden;
}

/* remove inherited section glow */
.contact-section::before{
display:none;
}

/* centered card */
.contact-card{
margin:0 auto;               /* THIS makes it perfectly centered */
background:rgba(255,255,255,0.12);
backdrop-filter:blur(20px);
-webkit-backdrop-filter:blur(20px);
padding:70px 60px;
border-radius:32px;
max-width:850px;
width:90%;
color:white;
box-shadow:0 30px 80px rgba(0,0,0,0.25);
border:1px solid rgba(255,255,255,0.2);
transition:.4s ease;
}

.contact-card:hover{
transform:translateY(-8px);
box-shadow:0 40px 100px rgba(0,0,0,0.35);
}

/* centered glass card */
.contact-card{
background:rgba(255,255,255,0.12);
backdrop-filter:blur(20px);
-webkit-backdrop-filter:blur(20px);
padding:70px 60px;
border-radius:32px;
max-width:850px;
width:100%;
text-align:center;
color:white;
box-shadow:0 30px 80px rgba(0,0,0,0.25);
border:1px solid rgba(255,255,255,0.2);
transition:.4s ease;
position:relative;
z-index:2;
}

.contact-card:hover{
transform:translateY(-8px);
box-shadow:0 40px 100px rgba(0,0,0,0.35);
}

.contact-card h2{
font-family:'Playfair Display',serif;
font-size:44px;
margin-bottom:20px;
letter-spacing:.5px;
}

.contact-dept{
font-weight:600;
font-size:18px;
margin-bottom:25px;
opacity:.95;
}

.contact-card p{
margin-bottom:14px;
line-height:1.8;
font-size:16px;
}

/* links */
.contact-details a{
color:white;
text-decoration:none;
font-weight:500;
border-bottom:1px solid rgba(255,255,255,0.6);
transition:.3s;
}

.contact-details a:hover{
opacity:.8;
border-bottom:1px solid white;
}

/* map styling */
.contact-map{
margin-top:45px;
}

.contact-map iframe{
width:100%;
height:300px;
border-radius:24px;
box-shadow:0 20px 60px rgba(0,0,0,0.35);
border:none;
transition:.4s;
}

.contact-map iframe:hover{
transform:scale(1.02);
}

/* responsive */
@media(max-width:768px){

.contact-card{
padding:45px 30px;
}

.contact-card h2{
font-size:30px;
}

.contact-map iframe{
height:220px;
}

}