/* =========================================================
   SIZCOM INSTITUTE OF TECHNOLOGY — LANDING PAGE
   ========================================================= */

   


:root{
  --red: #ff2026;
  --red-dark: #e60c12;
  --dark-card: #1e1a1d;
  --bg: #f3f3f3;
  --white: #ffffff;
  --black: #111111;
  --text-muted: #5c5c5c;

  --radius-lg: 40px;
  --radius-md: 30px;
  --radius-sm: 20px;

  --shadow-soft: 0 20px 50px rgba(0,0,0,0.08);
  --shadow-strong: 0 30px 60px rgba(0, 0, 0, 0.699);
  --shadow-card: 0 10px 20px rgba(0,0,0,0.10);

  --container: 1320px;
  --header-h: 20px;

  --ease: cubic-bezier(.22,.68,.32,1);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: hidden; width: 100%; }

body{
  margin:0;
  font-family: 'sora';
  background: var(--bg);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }

.text-red{ color: var(--red);}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Section title ---------- */
.section-title{
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 0px;
}
.section-title.center{ text-align:center; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:14px;
  padding: 16px 12px 16px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease;
  white-space: nowrap;
}

.btn-primary{
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(255,32,38,0.35);
}

.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 20px 40px rgba(255,32,38,0.45); }

.btn-outline{
  background: transparent;
  color: var(--black);
  border-color: var(--black);
  padding: 16px 12px 16px 32px;
}
.btn-outline:hover{ transform: translateY(-3px); background: var(--black); color:var(--white); }

.btn-arrow .arrow-circle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 34px;
  height: 34px;
  border-radius:50%;
  background: var(--white);
  color: var(--red);
  font-size: 1rem;
  flex-shrink:0;
}
.btn-outline .arrow-circle--dark{
  background: var(--black);
  color: var(--white);
}
.btn-sm{ padding: 11px 8px 11px 22px; font-size: .85rem; }
.btn-sm .arrow-circle{ width:26px; height:26px; font-size:.8rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 1000;
  display:flex;
  justify-content:center;
  padding: 0 0px;
  transition: top .3s var(--ease);
}
.header-inner{
  width:100%;
  max-width: 65%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 20px 10px 20px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.6);
}
.site-header.is-scrolled .header-inner{
  box-shadow: var(--shadow-strong);
  background: rgba(255,255,255,0.9);
}

.logo{ display:flex; flex-direction:column; line-height:1; flex-shrink:0; }
.logo-main{
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--red);
  letter-spacing: -0.01em;
}
.logo-sub{
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  font-weight:600;
  color: var(--black);
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav{
  display:flex;
  align-items:center;
  gap: 5px;
}
.nav-link{
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
  position: relative;
  /* padding: 4px 0; */
  transition: color .25s ease;
  padding: 10px 25px 10px 25px; 

}
/* .nav-link::after{
  content:"";
  position:absolute;
  left:0; bottom:-2px;
  width:0; height:2px;
  background: var(--red);
  transition: width .3s var(--ease);
} */
.nav-link:hover, .nav-link.active{ background: var(--red);
  padding: 10px 25px 10px 25px; 
  /* flex-shrink:0;  */
  /* display:inline-flex; */
  align-items:center;
  /* gap:14px; */
  /* padding: 16px 12px 16px 32px; */
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  /* border: 2px solid transparent; */
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease;
  white-space: nowrap;
  color: var(--white);
  box-shadow: 0 14px 30px rgba(255,32,38,0.35); }
.nav-link:hover::after, .nav-link.active::after{ width:100%; }

.header-cta{ padding: 12px 25px 12px 26px; flex-shrink:0; }

.menu-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width: 44px;
  height: 44px;
  border:none;
  background: var(--black);
  border-radius: 50%;
  flex-shrink:0;
}
.menu-toggle span{
  width: 18px;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2){ opacity:0; }
.menu-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }





/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background: var(--bg);
  padding: 100px 0px 40px;
  position:relative;
}
.footer-inner{ max-width: 65%; margin: 0 auto; position:relative;}
.spark--footer{ position:absolute; top: -45px; right: 6%; color: var(--red); font-size:3rem; }

.contact-card{
  display: flex;
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 50px 60px;
  box-shadow: var(--shadow-strong);
  margin-bottom: 90px;
  align-items: center;
}
.contact-card__info{ max-width: 480px; margin-left:auto; color: var(--white); }
.map-card__info{ max-width: 480px; margin-right:auto; }

.contact-phone, .contact-email{ margin: 0 0 8px; font-size: 1.05rem; }
.contact-phone a, .contact-email a{ color: var(--white); transition: color .25s ease; }
.contact-phone a:hover, .contact-email a:hover{ color: var(--red); }
.contact-address{ margin: 16px 0 0; font-size: .92rem; line-height: 1.7; color: rgba(255,255,255,0.7); }

.footer-bottom{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 50px;
}
.footer-col h4{ font-size: .95rem; font-weight:700; margin: 0 0 18px; }
.footer-col a{
  display:block;
  font-size: .92rem;
  /* color: var(--text-muted); */
  margin-bottom: 12px;
  transition: color .25s ease;
}
.footer-col a:hover{ color: var(--text-muted); }
.footer-logo-col{ display:flex; flex-direction:column; gap:2px; }
.footer-logo-col .logo-main{ color: var(--red); font-size:1.6rem; }
.footer-logo-col .logo-sub{ font-size:.55rem; }

/* ==========================
   SOCIAL ICONS
   ========================== */

.social-icons{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.social-icon{
    width:40px;
    height:40px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:var(--black);
    color:var(--white);

    font-size:20px;

    transition:all .3s ease;
}

.social-icon:hover{
    background:var(--red);
    color:var(--white);

    transform:translateY(-5px);
    box-shadow:0 12px 25px rgba(255,59,59,.25);
}

.social-icon i{
    display:flex;
    align-items:center;
    justify-content:center;

    width:100%;
    height:100%;

    font-size:20px;
    line-height:1;
}

/* ---------- Scroll to top ---------- */
.scroll-top{
  position: fixed;
  bottom: 28px; right: 28px;
  width: 52px; height:52px;
  border-radius:50%;
  border:none;
  background: var(--black);
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: var(--shadow-strong);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
  z-index: 900;
}
.scroll-top.is-visible{ opacity:1; visibility:visible; transform: translateY(0); }
.scroll-top:hover{ background: var(--red); }







/* =========================================================
   FLOAT ANIMATIONS
   ========================================================= */
@keyframes floatSlow{
  0%,100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-5px) rotate(1deg); }
}
@keyframes floatMed{
  0%,100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-0px) rotate(-1deg); }
}
.float-slow{ animation: floatSlow 5s ease-in-out infinite; }
.float-med{ animation: floatMed 3s ease-in-out infinite; }
.fc-1, .fc-2, .fc-3, .fc-4, .fc-5{ animation-name: floatSlow; }
.fc-2, .fc-4{ animation-name: floatMed; }

/* ---------- Reveal on scroll ---------- */
[data-reveal]{
  opacity:0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible{ opacity:1; transform:none; }

/* ---------- Focus states ---------- */
a:focus-visible, button:focus-visible{
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Laptop */
@media (max-width: 1200px){
  .hero-title{ font-size: clamp(2.4rem, 5vw, 4rem); }
  .contact-card{ padding: 44px 40px; }
  .footer-bottom{ grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

/* Tablet */
@media (max-width: 992px){
  .main-nav{ display:none; }
  .menu-toggle{ display:flex; }
  .header-cta{ display:none; }

  .site-header.nav-open .header-inner{ border-radius: 28px; max-width: 85%;}
  .main-nav.is-open{
    display:flex;
    flex-direction:column;
    position:absolute;
    top: calc(100% + 12px);
    left:0; right:0;
    background: var(--white);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-strong);
    gap: 6px;
  }
  .main-nav.is-open .nav-link{ padding: 12px 8px; }
  .main-nav.is-open .header-cta-mobile{ display:block; }

  .hero-inner{ grid-template-columns: 1fr; }
  .hero-right{ order:-1; min-height: 420px; }
  .hero-para{ max-width: 100%; }

  .about-inner{ grid-template-columns: 1fr; }
  .about-right{ min-height: 420px; order:-1; }

  
  .cert-left{ width:100%; height: 380px; min-height: 300px; margin: 0 auto 50px; max-width: 520px; }
  .cert-right .section-title{ text-align:left; }

  .faq-inner{ grid-template-columns: 1fr; }
  .faq-title{ position:static; margin-bottom: 12px; }


  .contact-card__info{ margin: 0; max-width:none; }
}

/* Mobile / small tablet */
@media (max-width: 768px){
  :root{ --header-h: 78px; }
  .header-inner{ padding: 10px 10px 10px 10px; max-width: 85%; }
  .logo-main{ font-size: 1.25rem; }

  .hero{ padding-top: calc(var(--header-h) + 24px); }
  .hero-title{ font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-buttons{ flex-direction:column; align-items:flex-start; }
  .btn{ width:100%; justify-content:space-between; }


  .phone-mock{ width: 190px; height: 400px; }
  .deco--black-square{ width:130px; height:150px; }
  .deco--red-square{ width:130px; height:160px; }
  .deco--red-square-2{ width:150px; height:150px; }

  .marquee-group span{ font-size: 1.4rem; padding: 0 18px; gap: 18px; }

  .about, .courses,  .placements, .faq{ padding-top: 90px; padding-bottom: 90px; }

  .course-visual{ width: min(220px, 55vw); }
  .courses-stage{ min-height: 420px; }
  .course-card{ width: 170px; padding: 14px; }
  .course-card h3{ font-size: .85rem; }
  .slider-arrow{ width: 42px; height:42px; }

  .cert-left{ height: 300px; }
  .cert-card{ border-radius: 16px; }

  .placements{ padding: 110px 24px; }
  .float-block{ display:none; }


  .footer-bottom{ grid-template-columns: 1fr; }
  .contact-card{ padding: 34px 24px; border-radius: var(--radius-md);   text-align: center;}
}

@media (max-width: 480px){
  .hero-title{ font-size: 2.1rem; }
  .section-title{ font-size: 2rem; }
  .placements-title{ font-size: 2.6rem; }
  .faq-title{ font-size: 2rem; }
  .contact-card{ margin-bottom: 60px; }

  .course-visual{ width: min(180px, 50vw); }
  .courses-stage{ min-height: 380px; }
  .course-card{ width: 150px; padding: 12px; }
  .course-card h3{ font-size: .8rem; margin-bottom: 12px; }
  .course-card__img{ margin-bottom: 10px; }
  .slider-arrow{ width: 38px; height: 38px; font-size: 1rem; }

  .cert-left{ height: 260px; }
  .cert-card{ border-radius: 14px; }
}

/* Extra-small phones */
@media (max-width: 380px){
  :root{ --header-h: 70px; }
  .hero-title{ font-size: 1.8rem; }
  .hero-para{ font-size: .95rem; }
  .section-title{ font-size: 1.7rem; }
  .marquee-group span{ font-size: 1.1rem; padding: 0 14px; gap: 14px; }

  .course-visual{ width: min(150px, 46vw); }
  .courses-stage{ min-height: 340px; }
  .course-card{ width: 130px; padding: 10px; }
  .course-card h3{ font-size: .72rem; margin-bottom: 10px; }

  .cert-left{ height: 220px; }
  .cert-card{ border-radius: 12px; }

  .contact-card{ padding: 26px 18px; }
  .footer-bottom{ gap: 24px; }
}





/* =========================================
   FLOATING CONTACT BUTTONS
========================================= */

.floating-contact-buttons {
  position: fixed;
  right: 25px;
  bottom: 95px;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-contact {
  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  color: #fff;
  text-decoration: none;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.20);

  transition:
    width 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;

  overflow: hidden;
}

.floating-contact i {
  font-size: 24px;
  flex-shrink: 0;
}

.floating-contact span {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;

  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 600;

  transition:
    max-width 0.3s ease,
    opacity 0.2s ease,
    margin-left 0.3s ease;
}

/* Hover expansion */
.floating-contact:hover {
  width: 135px;
  justify-content: flex-start;
  padding-left: 18px;

  transform: translateY(-3px);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.floating-contact:hover span {
  max-width: 80px;
  opacity: 1;
  margin-left: 10px;
}

/* WhatsApp */
.whatsapp-btn {
  background: #25D366;
}

/* Call */
.call-btn {
  background: #ff2026;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

  .floating-contact-buttons {
    right: 28px;
    bottom: 90px;
    gap: 10px;
  }

  .floating-contact {
    width: 52px;
    height: 52px;
  }

  .floating-contact i {
    font-size: 21px;
  }

  /* Keep them circular on touch devices */
  .floating-contact:hover {
    width: 52px;
    padding-left: 0;
    justify-content: center;
    transform: none;
  }

  .floating-contact:hover span {
    display: none;
  }
}