<link rel="stylesheet" href="https://saikumar.markting.in/wp-content/themes/macha-springarbor/assets/css/home.css">


/* ===============================
   HERO VIDEO (SAFE STACKING)
================================ */

.macha-hero {
    position: relative;
    width: 100%;
    height: 100vh; /* full viewport height */
    overflow: hidden;
}



.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff; /* white text */
    font-size: 80px; /* big font */
    font-weight: 900; /* bold */
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* for readability over video */
    line-height: 1.2;
    padding: 0 20px; /* padding for small screens */
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .hero-text {
        font-size: 70px;
    }
}

/* Video NEVER escapes */
.macha-hero-video {
    margin-top:-180px;
    inset: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
     filter: brightness(50%) contrast(110%);
    pointer-events: none;   /* 🔑 prevents overlay bug */
}



/* Content */
.macha-hero-content {
    position: relative;
    
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}

.macha-hero-content h1 {
    font-size: 72px;
    font-family: Georgia, serif;
}

@media (max-width: 768px) {
    .macha-hero-content h1 {
        font-size: 40px;
    }
    .macha-hero {
    
    height: 70vh; /* full viewport height */
    
}
}



/* ==================================================
   FIND YOUR DEGREE SECTION
================================================== */

.macha-degree {
    position: relative;
    background: #e7eef2;
    padding: 120px 20px 140px;
    overflow: hidden;
    margin-top: -10px;
}

.macha-visit::before {
    content: "";
    position: absolute;
    left: -10%;
    top: 50%;
    width: 120%;
    height: 520px;

    background: linear-gradient(
        to right,
        #0b3c5d 0%,
        #083152 50%,
        #06263f 100%
    );

    /* 🔑 THIS CREATES THE MIDDLE CURVE */
    clip-path: ellipse(75% 45% at 50% 50%);

    transform: translateY(-50%);
    z-index: 0;
}


.macha-degree-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Title */
.degree-title {
    position: relative;
    display: inline-block;
    font-size: 40px;
    font-weight: 700;
    color: #003a70;
    margin-bottom: 40px;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Yellow accent shape */
.degree-highlight {
    position: absolute;
    left: -32px;
    top: -12px;
    width: 80px;
    height: 46px;
    background: #ffd200;
    border-radius: 50% 50% 50% 0;
    z-index: -1;
}

/* Search */
.degree-search {
    position: relative;
    max-width: 820px;
    margin: 0px auto 28px;
}

.degree-search input {
    width: 100%;
    padding: 16px 60px 16px 24px;
    font-size: 16px;
    border-radius: 40px;
    border: 2px solid #003a70;
    outline: none;
}
.degree-search input::placeholder {
  color: #2e2e2e;
  opacity: 1; /* important for Firefox */
}
.degree-search-icon {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #003a70;
}

/* Subtitle */
.degree-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #003a70;
    margin-bottom: 26px;
}

/* Pills */
.degree-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.degree-pill {
    padding: 14px 28px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

/* Variants */
.degree-pill.dark {
    background: #003a70;
    color: #ffffff;
}

.degree-pill.yellow {
    background: #ffd200;
    color: #000000;
}

.degree-pill.blue {
    background: #2a78c8;
    color: #ffffff;
}

.degree-pill.outline {
    background: #ffffff;
    border: 2px solid #003a70;
    color: #003a70;
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    .macha-degree {
        padding: 90px 16px 110px;
    }

    .degree-title {
        font-size: 30px;
    }

    .degree-highlight {
        width: 60px;
        height: 36px;
        left: -24px;
    }

    .degree-search input {
        font-size: 15px;
        padding: 14px 54px 14px 18px;
    }

    .degree-pill {
        width: 100%;
        max-width: 280px;
    }
}




/* ================= ROOT ================= */

:root {
    --primary-color: #0b3a63;
}

/* ================= CTA SECTION ================= */

.swoop-cta {
    position: relative;
    margin: 10rem 0;
    padding: -1rem 0;
    min-height: 650px;
    overflow: hidden;

    background-color: var(--primary-color);
    background-image: url("https://springarbor.edu/_resources/images/background-image.png");
    background-size: cover;
    background-position: center;
}

/* ================= SWOOP BACKGROUNDS ================= */

.bg-swoop-top,
.bg-swoop-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 2; /* ABOVE blue background */
}

.bg-swoop-top {
    z-index: 1; /* higher than everything */
}


/* TOP SWOOP */
.bg-swoop-top {
    top: -1px;
    height: 200px;

    
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;
}
.bg-swoop-top {
    background-image: url("	https://springarbor.edu/_resources/images/svg/swoop-mask_top-white_home-cta.svg");
}

/* BOTTOM SWOOP */
.bg-swoop-bottom {
      bottom: -1px;
    height: 300px;

    background-image: url("	https://springarbor.edu/_resources/images/svg/swoop-mask_bottom-white_home-cta.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

/* ================= INNER LAYOUT ================= */

.swoop-cta-inner {
    position: relative;
    z-index: 2;

    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;

    display: grid;
    grid-template-columns: 420px 1fr;
    align-items: center;
    gap: 5rem;
}

/* ================= HEX IMAGE ================= */

.swoop-image {
    display: flex;
    justify-content: center;
}

.hex-wrap {
    width: 420px;
    aspect-ratio: 1 / 1;
    padding: 10px;
    background: #f6c400;

    clip-path: polygon(0% 15%, 50% 0, 100% 15%, 100% 85%, 50% 100%, 0% 85%)
    ;
}

.hex-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inherit;
}

/* ================= CONTENT ================= */

.swoop-content {
    color: #ffffff;
    max-width: 520px;
    
}

.swoop-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.swoop-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

/* ================= BUTTON ================= */

.btn-swoop {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 999px;
    background: #f6c400;
    color: #002b49;
    font-weight: 600;
    text-decoration: none;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
    .swoop-cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .swoop-cta {
        padding: 4rem 0;
        min-height: auto;
    }
    .swoop-content {
    color: #ffffff;
    max-width: 520px;
    padding-bottom: 120px;
}

    .hex-wrap {
        width: 350px;
    }

    .bg-swoop-top {
        height: 160px;
        background-size: cover;
    }

    .bg-swoop-bottom {
        height: 140px;
        background-size: cover;
    }
}


/* ==================================================
   EVENTS SECTION
================================================== */

.macha-events {
    padding: 140px 20px;
    background: #ffffff;
}

.macha-events-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: flex-start;
}

/* ================= LEFT ================= */

.events-title {
    position: relative;
    font-size: 42px;
    font-weight: 700;
    color: #003a70;
    margin-bottom: 30px;
    display: inline-block;
}

.events-highlight {
    position: absolute;
    left: -30px;
    top: -10px;
    width: 80px;
    height: 44px;
    background: #ffd200;
    border-radius: 50% 50% 50% 0;
    z-index: -1;
}

.events-text {
    font-size: 16px;
    line-height: 1.6;
    color: #003a70;
    margin-bottom: 30px;
    max-width: 420px;
}

.events-btn {
    display: inline-block;
    padding: 14px 26px;
    background: #ffd200;
    color: #000;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
}

/* ================= RIGHT ================= */

.events-list {
    border-top: 2px solid #ffd200;
}

.event-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
    padding: 0px 0;
    border-bottom: 2px solid #ffd200;
}

.event-date {
    text-align: center;
    color: #003a70;
    font-weight: 600;
    background-color: #ffd200;
    padding:10px 0px;
}

.event-date .day {
    display: block;
    font-size: 22px;
}

.event-date .month {
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
}

.event-details h4 {
    font-size: 18px;
    font-weight: 700;
    color: #003a70;
    margin: 5px 0px;
}

.event-details p {
    font-size: 14px;
    color: #003a70;
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 900px) {

    .macha-events {
        padding: 100px 16px;
    }

    .macha-events-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .events-text {
        max-width: 100%;
    }

    .event-item {
        grid-template-columns: 70px 1fr;
    }
}




/* ================= LIFE SECTION ================= */
/* ================= SECTION ================= */
.macha-life {
  max-width: 100%;
  margin: 6rem auto;
  padding: 0 6.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow: visible;
}

.macha-life-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  overflow: visible;
}

/* Push RIGHT row */
.macha-life-row.right {
  justify-content: flex-end;
}

.macha-life-row.right > * {
  max-width: 520px;
}

/* ================= IMAGE ================= */
.macha-life-image {
  position: relative;
  width: 480px;
  height: 320px;
  flex-shrink: 0;
  overflow: visible;
}

/* MASKED IMAGE */
.macha-life-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  position: relative;
  z-index: 2;

  -webkit-mask-image: url("https://saikumar.markting.in/wp-content/themes/macha-springarbor/assets/images/droplet-left.svg");
  mask-image: url("https://saikumar.markting.in/wp-content/themes/macha-springarbor/assets/images/droplet-left.svg");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-size: contain;
  mask-size: contain;

  -webkit-mask-position: center;
  mask-position: center;
  margin-left: -50px;
}

/* ================= YELLOW SWOOSH ================= */
.yellow-swoosh {
  position: absolute;
  inset: -20px;

  background: #ffcc00;

  z-index: 1;

  -webkit-mask-image: url("https://saikumar.markting.in/wp-content/themes/macha-springarbor/assets/images/droplet-left.svg");
  mask-image: url("https://saikumar.markting.in/wp-content/themes/macha-springarbor/assets/images/droplet-left.svg");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-size: contain;
  mask-size: contain;

  -webkit-mask-position: center;
  mask-position: center;
}

/* ================= RIGHT SIDE FLIP ================= */
.macha-life-row.right .macha-life-image img,
.macha-life-row.right .yellow-swoosh {
  transform: scaleX(-1);
}

/* ================= CONTENT ================= */
.macha-life-content {
  max-width: 520px;
}

.macha-life-content h2 {
  font-size: 2.5rem;
  color: #002b5c;
  margin-bottom: 1rem;
}

.macha-life-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1rem;
}

.macha-life-content strong {
  color: #002b5c;
  font-style: italic;
}

.macha-life {
  position: relative;
  overflow: visible;

  background-image: url("https://springarbor.edu/_resources/images/background-shape__gray1.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}


/* ================= MOBILE ================= */
@media (max-width: 992px) {
  .macha-life-row,
  .macha-life-row.right {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .macha-life-image {
    order: 1;
    width: 100%;
    max-width: 420px;
    height: 280px;
  }
  
  .macha-life {
    max-width: 100%;
    margin: 6rem auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow: visible;
}

  .macha-life-content {
    order: 2;
    margin-top: 1.5rem;
  }

  /* Remove flip on mobile (matches SAU behavior) */
  .macha-life-row.right .macha-life-image img,
  .macha-life-row.right .yellow-swoosh {
    transform: none;
  }
}



/* ==================================================
   SAU NEWS SECTION
================================================== */

.macha-news {
    padding: 20px 20px;
    background: #ffffff;
}

.macha-news-inner {
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.news-title {
    position: relative;
    font-size: 42px;
    font-weight: 700;
    color: #003a70;
}

.news-highlight {
    position: absolute;
    left: -30px;
    top: -12px;
    width: 80px;
    height: 44px;
    background: #ffd200;
    border-radius: 50% 50% 50% 0;
    z-index: -1;
}

.news-view-all {
    background: #003a70;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 24px;
    font-weight: 600;
    text-decoration: none;
}

/* FEATURED */
.news-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.news-featured-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 18px;
}

.news-featured-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #003a70;
}

/* IMAGE */
.news-featured-image img {
    width: 100%;
    border-radius: 12px;
}

/* META */
.news-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.news-tag {
    background: #003a70;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.news-date {
    font-size: 12px;
    color: #003a70;
    font-weight: 600;
}

/* GRID */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #003a70;
    margin-bottom: 12px;
}

.news-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #003a70;
    margin-bottom: 14px;
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 900px) {

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .news-featured {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}



/* ==================================================
   FOOTER BASE
================================================== */

.footer-wrap {
    background: #003366;
    color: #ffffff;
    font-family: "Segoe UI", Arial, sans-serif;
}

.footer-wrap .container {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px 40px;
}

   .footer-swoop img{
       
   margin-bottom: -10px !important;
   }

/* ==================================================
   GRID SYSTEM (BOOTSTRAP-LIKE)
================================================== */

.footer-wrap .row {
    display: flex;
    flex-wrap: wrap;
}

/* Base columns */
.footer-wrap [class*="col-"] {
    padding: 0 20px;
    box-sizing: border-box;
}

/* col-12 */
.col-12 {
    width: 100%;
}

/* col-6 */
.col-6 {
    width: 50%;
}

/* ==================================================
   DESKTOP (≥992px)
================================================== */

@media (min-width: 992px) {

    .col-lg-3 {
        width: 25%;
    }

}

/* ==================================================
   FOOTER CONTENT
================================================== */

.footer-logo {
    max-width: 220px;
    margin-bottom: 20px;
}

.footer-address {
    font-size: 14px;
    line-height: 1.6;
}

.footer-address a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

/* Headings */
.h6 {
    font-size: 16px;
    margin-bottom: 14px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

/* ==================================================
   SOCIAL
================================================== */

.footer-social {
    list-style: none;
    display: flex;
    gap: 14px;
    padding: 0;
    margin-bottom: 10px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    background: #ffffff;
    color: #003a70;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.footer-social + strong {
    font-size: 14px;
}

/* ==================================================
   FOOTER CLOSING
================================================== */

.footer-closing {
    border-top: 1px solid rgba(255,255,255,0.3);
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-inline a {
    color: #ffffff;
    font-size: 13px;
    margin-right: 14px;
    text-decoration: none;
}

/* ==================================================
   MOBILE FIXES
================================================== */

@media (max-width: 991px) {

    /* Center logo & social */
    .footer-wrap .col-12 {
        margin-bottom: 30px;
        text-align: center;
    }
    
    

    .footer-social {
        justify-content: flex-center;
        text-align: center;
        justify-content:center;
        padding-top: 30px;
        
    }
    .footer-wrap [class*="col-"] {
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
}

    .footer-closing {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .footer-social a {
    width: 24px;
    height: 24px;
    background: #ffffff;
    color: #003a70;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}
}

/* Center footer logo on mobile */
@media (max-width: 992px) {
    .footer-main-row .col-12.col-lg-3:first-child {
        text-align: center; /* center content inside the column */
    }

    .footer-main-row .col-12.col-lg-3:first-child .footer-logo {
        margin: 0 auto; /* center the image */
        display: inline-block;
    }
    
     /* Make footer main row flex wrap */
    .footer-main-row {
        display: flex;
        flex-wrap: wrap; /* allow items to wrap */
    }

    /* Set two equal columns for Explore & Community */
    .footer-main-row .col-6.col-lg-3 {
        width: 50%; /* two per row on mobile */
        padding: 10px; /* optional spacing */
        box-sizing: border-box;
    }

    /* Optional: align text left */
    .footer-main-row .col-6.col-lg-3 h3,
    .footer-main-row .col-6.col-lg-3 ul {
        text-align: center;
    }
}

@media (max-width: 480px) {

    .col-6 {
        width: 100%;
    }

}