/* ==================================================
   COMMITTEE FOR GENDER CONCERNS (CGC)
   IIT Hyderabad
   Responsive Institutional Theme
================================================== */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root{

    --primary:#1B4F72;
    --primary-dark:#123A56;

    --secondary:#7D3C98;

    --accent:#E67E22;

    --light:#F8FAFC;

    --white:#FFFFFF;

    --text:#2C3E50;

    --grey:#6C757D;

    --border:#E5E7EB;

    --shadow:0 8px 24px rgba(0,0,0,.08);

    --radius:14px;

}

/* ============================ */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;
    background:#f5f7fb;
    color:var(--text);
    line-height:1.7;
}
/* ============================ */
/* logo */
/* ============================ */
.logo{

    display:flex;
    align-items:center;
    gap:15px;

}

.logo img{

    height:60px;
    width:auto;

}

.logo h3{

    margin:0;
    color:var(--primary);
    font-size:1.15rem;
    font-weight:700;

}

.logo small{

    display:block;
    color:#666;
    font-size:.82rem;
}
/* ============================ */
/* Navigation */
/* ============================ */

header{

    position:sticky;
    top:0;
    z-index:999;

    background:rgba(255,255,255,.95);
    backdrop-filter:blur(8px);

    box-shadow:0 3px 10px rgba(0,0,0,.06);

}

.container{

    width:min(1180px,92%);
    margin:auto;

}

.navbar{

    display:flex;
    justify-content:space-between;
    align-items:center;

    height:75px;

}

.logo{

    font-size:1.35rem;
    font-weight:700;
    color:var(--primary);

}

.navbar ul{

    display:flex;
    list-style:none;
    gap:28px;

}

.navbar ul li a{

    text-decoration:none;
    color:var(--text);
    font-weight:500;
    transition:.3s;

}

.navbar ul li a:hover{

    color:var(--primary);

}

/* ============================ */
/* Hero */
/* ============================ */

.hero{

    padding:90px 0;

    background:linear-gradient(135deg,#1B4F72,#5B2C6F);

    color:white;

}

.hero-grid{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;

}

.hero h1{

    font-size:3rem;
    margin-bottom:20px;

}

.hero p{

    font-size:1.1rem;

}

.hero img{

    width:100%;
    border-radius:var(--radius);
    box-shadow:var(--shadow);

}

/* ============================ */

section{

    padding:40px 0;

}

.section-title{

    text-align:center;
    margin-bottom:55px;

}

.section-title h2{

    color:var(--primary);
    font-size:2.2rem;
    margin-bottom:10px;

}

.section-title p{

    color:var(--grey);

}

/* ============================ */

.card-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap: 15px;

}

.card{

    background:white;

    padding:30px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:.35s;

    border:1px solid var(--border);

}

.card:hover{

    transform:translateY(-6px);

}

.card h3{

    color:var(--primary);
    margin-bottom:15px;

}

/* ============================ */
/* News */
/* ============================ */

.news{

    background:white;

    border-left:5px solid var(--accent);

    padding:20px;

    border-radius:10px;

    margin-bottom:18px;

}

.news-date{

    color:var(--secondary);
    font-weight:600;

}

/* ============================ */
/* Buttons */
/* ============================ */

.btn{

    display:inline-block;

    padding:12px 28px;

    background:var(--primary);

    color:white;

    text-decoration:none;

    border-radius:8px;

    transition:.3s;

    font-weight:600;
    margin:auto;

}

.btn:hover{

    background:var(--primary-dark);

}

/* ============================ */
/* Tables */
/* ============================ */

table{

    width:100%;
    border-collapse:collapse;
    background:white;

}

table th{

    background:var(--primary);
    color:white;
    padding:15px;

}

table td{

    padding:14px;

    border-bottom:1px solid var(--border);

}

/* ============================ */
/* Contact */
/* ============================ */

.contact{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

}

.contact-box{

    background:white;

    padding:30px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

/* ============================ */
/* Forms */
/* ============================ */

input:not([type="checkbox"]),
textarea,
select{

    width:100%;

    padding:14px;

    margin-bottom:18px;

    border:1px solid #d6dbe3;

    border-radius:8px;

    font-family:inherit;

}

textarea{

    min-height:150px;

}
.formbody{
    margin-top: 5%;
    margin-left: 20%;
    margin-right: 20%;
}

/* ============================ */
/* Footer */
/* ============================ */

footer{

    background:#183153;

    color:white;

    padding:35px 0;

    text-align:center;

}

footer a{

    color:#fff;

}

/* ============================ */
/* Notice Box */
/* ============================ */

.notice{

    background:#FFF8E8;

    border-left:6px solid var(--accent);

    padding:20px;

    border-radius:8px;

}

/* ============================ */
/* Timeline */
/* ============================ */

.timeline{

    border-left:4px solid var(--primary);

    margin-left:20px;

}

.timeline-item{

    padding:25px;

    position:relative;

}

.timeline-item::before{

    content:"";

    width:16px;
    height:16px;

    background:var(--primary);

    border-radius:50%;

    position:absolute;

    left:-10px;
    top:30px;

}

/* ============================ */
/* Responsive */
/* ============================ */

@media(max-width:900px){

.hero-grid{

grid-template-columns:1fr;

text-align:center;

}

.hero h1{

font-size:2.3rem;

}

nav{

flex-direction:column;

height:auto;

padding:18px 0;

}

nav ul{

flex-wrap:wrap;

justify-content:center;

padding-top:15px;

gap:18px;

}

}

@media(max-width:600px){

section{

padding:55px 0;

}

.hero{

padding:60px 0;

}

.hero h1{

font-size:2rem;

}

.section-title h2{

font-size:1.7rem;

}

.card{

padding:22px;

}

}