     /*Styles for Indepence day web page*/
	 *{
    box-sizing:border-box;
     }
	 
	 
	 body{
       padding:15px;
       min-height:100vh;
        background-image:url(images/gandhi1.jpeg);
		  background-repeat:no-repeat;
		  background-position:center;
		  background-size:cover;
		  background-attachment:fixed;

       }
header{
    color:white;
    text-align:center;
    padding:0 15px 20px;
    position:relative;
    top:-25px;
}

header h1{
    font-size:clamp(40px, 5vw, 60px);
    font-style:italic;
    margin:0;

    color:#FFFFFF;

    text-shadow:0 2px 5px rgba(0,0,0,0.9);
}

header p{
    font-size:clamp(16px, 2vw, 24px);
    font-style:italic;
    margin:15px 0 0;

    color:#FFF;

    text-shadow:0 2px 4px rgba(0,0,0,0.9);
}
.flag{
    text-align:center;

    margin:clamp(180px, 28vh, 320px) auto 0;

    width:90%;
    max-width:1580px;

    border-radius:12px;
    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,0.45);
}
      .c1{
    background:#FF9933;
    color:black;
    height:70px;
    font-size:30px;
    border-radius:12px 12px 0 0;
    margin:0;

    display:flex;
    justify-content:center;
    align-items:center;
	
	box-shadow:0 2px 6px rgba(0,0,0,0.25);
}

.c2{
    background:white;
    color:black;
    height:70px;
    font-size:40px;
    border-radius:0;
    margin:0;

    display:flex;
    justify-content:center;
    align-items:center;
	
	box-shadow:0 2px 6px rgba(0,0,0,0.25);
}

.c2 span{
    display:flex;
    align-items:center;
    justify-content:center;
    height:100%;
}

.c2 img{
    display:block;
}

.c3{
    background:#138808;
    color:black;
    height:70px;
    font-size:30px;
    border-radius:0 0 12px 12px;
    margin:0;

    display:flex;
    justify-content:center;
    align-items:center;
	
	box-shadow:0 2px 6px rgba(0,0,0,0.25);
}

.freedom-journey{
    color:white;
    text-align:center;
    margin:60px auto;
    width:100%;
    max-width:1200px;
}

.freedom-journey h2{
    font-size:40px;
    margin-bottom:40px;
}

.timeline-item{
    margin:30px 0;
}

.timeline-item h3{
    color:#FF9933;
    font-size:30px;
    margin:0 0 10px;
}

.timeline-item p{
    color:white;
    font-size:18px;
    margin:0;
}
.timeline{
    position:relative;
    width:90%;
    max-width:900px;
    margin:auto;
    padding:20px 0;
}

.timeline::before{
    content:"";
    position:absolute;
    left:50%;
    top:0;
    bottom:0;
    width:3px;
    background:#FF9933;
    transform:translateX(-50%);
}

.timeline-item{
    width:50%;
    padding:15px 30px;
    position:relative;
}

.timeline-item:nth-child(odd){
    left:0;
    text-align:right;
}

.timeline-item:nth-child(even){
    left:50%;
    text-align:left;
}

.timeline-item::after{
    content:"";
    position:absolute;
    top:50%;
    width:16px;
    height:16px;
    background:#FF9933;
    border:3px solid white;
    border-radius:50%;
    transform:translateY(-50%);
    z-index:2;
}

.timeline-item:nth-child(odd)::after{
    right:-10px;
}

.timeline-item:nth-child(even)::after{
    left:-10px;
}

.timeline-item h3{
    color:#FF9933;
    font-size:30px;
    margin:0 0 8px;
}

.timeline-item p{
    color:white;
    font-size:17px;
    line-height:1.6;
    margin:0;
}

@media (max-width: 700px){

    .timeline{
        width:90%;
    }

    .timeline::before{
        left:15px;
        transform:none;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even){
        width:100%;
        left:0;
        text-align:left;
        padding:15px 15px 15px 45px;
    }

    .timeline-item::after,
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after{
        left:7px;
        right:auto;
    }

}

.leader-image{
    width:100%;
    height:280px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#111;
    overflow:hidden;
}

.leader-image img{
    width:100%;
    height:100%;

    object-fit:cover;
}

.leaders{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:25px;
    width:90%;
    max-width:1200px;
    margin:40px auto;
}

.leader-card{
    background:rgba(0,0,0,0.65);
    border:1px solid rgba(255,255,255,0.2);
    border-radius:12px;
    overflow:hidden;
    text-align:center;
    padding-bottom:20px;
}

.leader-card h3{
    color:#FF9933;
    font-size:24px;
    margin:18px 10px 8px;
}

.leader-card p{
    color:white;
    font-size:16px;
    line-height:1.5;
    margin:0 15px;
}
@media (max-width:700px){

    .leaders{
        grid-template-columns:1fr;
        width:90%;
    }

}

.leader-card{
    transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.leader-card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(255,153,51,0.25);
}
.leader-card{
    position:relative;
    padding-top:5px;
}

.leader-card::before{
    content:"";
    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:5px;

    background:linear-gradient(
        to right,
        #FF9933 33.33%,
        white 33.33%,
        white 66.66%,
        #138808 66.66%
    );
}

/* =========================================
   PREMIUM FREEDOM QUOTE CARD
========================================= */

.freedom-quote{
    width:90%;
    max-width:950px;

    margin:100px auto 70px;

    padding:55px 45px;

    text-align:center;

    position:relative;

    background:rgba(5,5,5,0.72);

    border:1px solid rgba(255,255,255,0.22);

    border-radius:24px;

    /* subtle tricolour glow */
    box-shadow:
        0 18px 45px rgba(0,0,0,0.55),
        -8px 0 30px rgba(255,153,51,0.08),
        8px 0 30px rgba(19,136,8,0.08);

    overflow:hidden;
}


/* Thin tricolour border effect */

.freedom-quote::before{
    content:"";

    position:absolute;

    inset:0;

    padding:2px;

    border-radius:24px;

    background:linear-gradient(
        90deg,
        #FF9933,
        rgba(255,255,255,0.7) 50%,
        #138808
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;

    mask-composite:exclude;

    pointer-events:none;
}


/* Small glow behind quotation mark */

.freedom-quote::after{
    content:"";

    position:absolute;

    width:180px;
    height:180px;

    top:-80px;
    left:50%;

    transform:translateX(-50%);

    background:rgba(255,153,51,0.08);

    filter:blur(45px);

    border-radius:50%;

    pointer-events:none;
}


/* Large quotation mark */

.quote-mark{
    position:relative;

    z-index:1;

    color:#FF9933;

    font-family:Georgia,serif;

    font-size:95px;

    line-height:0.5;

    margin:5px 0 30px;

    text-shadow:
        0 0 18px rgba(255,153,51,0.35);
}


/* Quote text */

.quote-text{
    position:relative;

    z-index:1;

    color:#FFFFFF;

    font-family:Georgia,serif;

    font-size:clamp(21px,3vw,31px);

    font-style:italic;

    line-height:1.65;

    max-width:820px;

    margin:0 auto 28px;

    text-shadow:
        0 2px 6px rgba(0,0,0,0.9);
}


/* Author */

.quote-author{
    position:relative;

    z-index:1;

    color:#90EE90;

    font-size:17px;

    font-weight:bold;

    letter-spacing:0.6px;

    margin:0;

    text-shadow:
        0 2px 5px rgba(0,0,0,0.9);
}


/* Small elegant separator */

.quote-author::before{
    content:"";

    display:block;

    width:45px;

    height:1px;

    margin:0 auto 14px;

    background:rgba(255,255,255,0.6);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width:700px){

    .freedom-quote{
        width:92%;

        margin:70px auto 50px;

        padding:42px 20px;

        border-radius:20px;
    }

    .freedom-quote::before{
        border-radius:20px;
    }

    .quote-mark{
        font-size:72px;

        margin-bottom:25px;
    }

    .quote-text{
        font-size:20px;

        line-height:1.6;
    }

    .quote-author{
        font-size:15px;
    }

}




/* Author */

.quote-author{
    color:#FF9933;

    font-size:18px;

    font-weight:bold;

    margin:0;
}

.site-footer{
    text-align:center;

    padding:35px 15px 25px;

    margin-top:40px;

    border-top:1px solid rgba(255,255,255,0.15);

    background:rgba(0,0,0,0.35);
}

.site-footer p{
    color:#FFFFFF;

    font-size:22px;

    font-weight:bold;

    margin:0 0 8px;

    text-shadow:0 2px 4px rgba(0,0,0,0.8);
}

.site-footer span{
    color:#90EE90;

    font-size:14px;

    opacity:0.9;
}

/* =========================================
   MOBILE HERO POLISH
========================================= */

@media (max-width:700px){

    header{
        padding:0 10px 15px;
        top:-10px;
    }

    header h1{
        font-size:clamp(34px, 11vw, 46px);
        line-height:1.05;
    }

    header p{
        font-size:16px;
        line-height:1.4;
        margin-top:12px;
    }

}


/* =========================================
   NAVIGATION
========================================= */

html{
    scroll-behavior:smooth;
}

.main-nav{
    width:90%;
    max-width:900px;

    margin:0 auto;

    display:flex;
    justify-content:center;
    align-items:center;

    gap:35px;

    padding:12px 20px;

    background:rgba(0,0,0,0.55);

    border:1px solid rgba(255,255,255,0.2);

    border-radius:30px;

    position:relative;
    z-index:10;
}

.main-nav a{
    color:green;

    text-decoration:none;

    font-size:15px;
    font-weight:bold;

    letter-spacing:1px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.main-nav a:hover{
    color:#FF9933;
    transform:translateY(-2px);
}
@media (max-width:700px){

    .main-nav{
        width:95%;
        gap:15px;
        padding:10px 12px;
    }

    .main-nav a{
        font-size:11px;
        letter-spacing:0.5px;
    }

}
/* ================================
   MOBILE RESPONSIVE FIX
   ================================ */

@media (max-width: 600px) {

    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .flag {
        width: 92%;
        height: auto;
        margin: 20px auto;
        box-sizing: border-box;
    }

    .flag h2 {
        margin: 0;
        padding: 15px 10px;
        font-size: 20px;
    }

    .flag img {
        max-width: 45px;
        height: auto;
    }

    header {
        margin-top: 10px;
    }

}