

/* ================================= */
/* ---------- General Css  --------- */
/* ================================= */
 :root {
            --primary-color: #143b20;
            --primary-overlay: rgba(20, 59, 32, 0.85);
            --secondary-color: #FFFFFF;
            --text-dark: #2d2d2d;
            --text-light: #555555;
            --font-heading: 'Playfair Display', serif;
            --font-body: 'Poppins', sans-serif;
            --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        /* RESET */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            color: var(--text-dark);
            line-height: 1.8;
            background-color: var(--secondary-color);
            overflow-x: hidden;
        }

        /* HEADER */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            padding: 15px 5%;
            background: linear-gradient(to right, var(--secondary-color) 50%, var(--primary-color) 100%);
            display: flex;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .logo {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 1.2rem;
            color: var(--primary-color);
            text-decoration: none;
            letter-spacing: 1px;
			 height:55px;
        }

      /* --- SECTION 1: HERO COVER (Parallax) --- */
        #hero {
            position: relative;
            height: 100vh;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--secondary-color);
            overflow: hidden;
        }
        
       /* The Parallax Layer */
        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 120%; /* Extra height for movement */
            background: url('https://ttphcc.demo.appsstuff.net/ttphcc/Endoscopic/style/css/icon/Endoscopy-bg.jpg?auto=format&fit=crop&q=80&w=2000') no-repeat center center;
            background-size: cover;
            z-index: 0;
            will-change: transform;
        }

        .hero-overlay{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--primary-overlay);
            z-index: 1;
        }

        /* Light Sweep Effect Animation */
        #hero::after {
         content: '';
         position:absolute;
         top:0;
         left:-50%;
         width:50%;
         height:100%;
         background:linear-gradient(
        90deg,
        transparent,
       rgba(169,231,45,0.15),
        transparent
    );
	
      transform:skewX(-20deg);
      animation:lightSweep 8s linear infinite;
      z-index:3;
        }
        
        /* Floating Particles */
    .particles span{
    position:absolute;
    width:5px;
    height:5px;
    background:rgba(0,203,61);
    border-radius:50%;
    animation:float 5s linear infinite;
}

.particles span:nth-child(1){ left:20%; animation-duration:12s; }
.particles span:nth-child(2){ left:40%; animation-duration:15s; }
.particles span:nth-child(3){ left:60%; animation-duration:10s; }
.particles span:nth-child(4){ left:80%; animation-duration:18s; }
.particles span:nth-child(5){ left:30%; animation-duration:12s; }
.particles span:nth-child(6){ left:70%; animation-duration:15s; }
.particles span:nth-child(7){ left:90%; animation-duration:10s; }
.particles span:nth-child(8){ left:80%; animation-duration:18s; }

        @keyframes lightSweep {
           from{ left:-50%; }
           to{ left:150%; }
        }
       @keyframes float{
    from{
        top:100%;
        opacity:0;
    }
    20%{ opacity:1; }
    80%{ opacity:1; }
    to{
        top:-10%;
        opacity:0;
    }
}

        @keyframes fadeInScale {
            from { opacity: 0; transform: scale(0.95) translateY(20px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }

        .hero-content {
            position: relative;
            z-index: 3;
            max-width: 900px;
            padding: 0 20px;
            animation: fadeInScale 1.2s ease-out;
        }

        .hero-content h1 {
            font-family: var(--font-heading);
            font-size: clamp(2.5rem, 8vw, 5rem);
            margin-bottom: 20px;
            line-height: 1.1;
        }
        

        .event-details {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 40px;
        }

        .detail-item {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 1.1rem;
            letter-spacing: 2px;
            font-weight: 400;
            text-transform: uppercase;
        }

        .icon {
            width: 30px;
            height: 30px;
            fill: currentColor;
        }

        /* REGISTER BUTTON */
        .btn-register {
            display: inline-block;
            background-color: var(--secondary-color);
            color: var(--primary-color);
            padding: 10px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            letter-spacing: 1px;
            transition: var(--transition);
            border: 2px solid var(--secondary-color);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }

        .btn-register:hover {
            background-color: var(--primary-color);
            color: var(--secondary-color);
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.3);
        }
        
            .btn2-register {
            display: inline-block;
            background-color: var(--primary-color);
            color: var(--secondary-color);
            padding: 10px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: var(--transition);
            border: 2px solid var(--primary-color);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
            font-family: 'Playfair Display', serif;
        }

        .btn2-register:hover {
            background-color: var(--secondary-color);
            color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.3);
        }
        

.btn-primary {
            display: inline-block;
            background-color: #fff;
            color: #143b20;
            padding: 10px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            letter-spacing: 1px;
            transition: var(--transition);
            border: 2px solid var(--primary-color);
            box-shadow: 0 10px 30px rgba(20,59,32,.4);
            font-family: 'Playfair Display', serif;
}
.btn-primary:hover {
  transform:translateY(-3px);
}

.btn-secondary{
            display: inline-block;
            border:1px solid rgba(255,255,255,.5);
            color:#fff;
            padding: 10px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            letter-spacing: 1px;
            transition: var(--transition);
            box-shadow: 0 10px 30px rgba(20,59,32,.4);
            font-family: 'Playfair Display', serif;
}
.btn-secondary:hover {
  background:rgba(255,255,255,.1);
}
        
                /* BUTTONS STYLING */
        .hero-actions {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            font-family: 'Playfair Display', serif;
        }

        .program-row {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            justify-content: center;
        }

        /* SECTION 2: CHAIRMAN'S MESSAGE */
        .chairman-section {
            padding: 100px 5%;
            background-color: var(--secondary-color);
             /* Background image: Scientific/Medical Theme */
            background: url('icon/Endo.jpg?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover;
        }

        .container {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }

        .section-title {
            font-family: var(--font-heading);
            font-size: 2.8rem;
            color: var(--primary-color);
            margin-bottom: 50px;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-color: var(--primary-color);
        }

        .chairman-photo-wrapper {
            margin-bottom: 40px;
        }

        .chairman-photo {
            width: 220px;
            height: 220px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--primary-color);
            padding: 6px;
            background-color: var(--secondary-color);
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            transition: var(--transition);
        }

        .chairman-photo:hover {
            transform: scale(1.03);
            box-shadow: 0 20px 45px rgba(0,0,0,0.15);
        }

        .message-content {
            text-align: justify;
            color: var(--text-light);
            font-size: 1.05rem;
            margin-bottom: 50px;
        }

        .message-content p {
            margin-bottom: 25px;
        }

        .signature-block {
            text-align: left;
            border-left: 3px solid var(--primary-color);
            padding-left: 20px;
            margin-top: 50px;
        }

        .sig-name {
            display: block;
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 5px;
        }

        .sig-title {
            display: block;
            font-size: 1rem;
            color: var(--text-dark);
            line-height: 1.4;
        }
		
		        /* --- COUNTDOWN TIMER --- */
        .countdown {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        .countdown-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 80px;
        }

        .countdown-number {
            font-size: 2.5rem;
            font-weight: 600;
            font-family: var(--font-body);
            line-height: 1;
        }

        .countdown-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-top: 5px;
            opacity: 0.8;
        }

        /* FOOTER */
        footer {
            background-color: #143b20;
            padding: 25px 0;
            text-align: center;
            border-top: 1px solid #eee;
            color: #FFFFFF;
            font-size: 0.9rem;
        }

        /* MOBILE RESPONSIVE */
        @media (max-width: 768px) {
            .hero-content h1 {
                font-size: 2.8rem;
            }
            .section-title {
                font-size: 2.2rem;
            }
            .chairman-photo {
                width: 180px;
                height: 180px;
            }
            .message-content {
                text-align: left;
            }
            header {
                padding: 15px 20px;
            }
			.countdown { gap: 0.8rem; }
            .countdown-number { font-size: 1.8rem; }
            .countdown-item { min-width: 60px; }
        }
        
