/* ================================
   RESET & BASE
================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;    
    height: 100%;
}

/* ================================
   MAIN LAYOUT
================================ */

main.content {
    flex: 1;
    margin-top: 0;     /* remove */
    padding-bottom: 0; /* remove */
   
}

.section-container {
    width: 100%;
    padding: 30px clamp(20px, 6vw, 120px);
    margin: 0 auto;
}

/* ================================
   HERO SECTION
================================ */
/* ================================
   HERO (FULL WIDTH SPLIT)
================================ */

/* ================= HERO (UPDATED LAYOUT) ================= */
.hero {
    display: flex;
    flex-direction: column;              /* 🔥 main fix */
    align-items: center;
    text-align: center;

    min-height: calc(100vh - 100px);
    padding: 40px clamp(20px, 6vw, 120px);

    gap: 40px;
    animation: fadeIn 0.7s ease-in-out;
}

/* ================= LEFT (FULL WIDTH CENTERED) ================= */
.hero-left {
    max-width: 800px;
    width: 100%;
    color: #ffffff;
}

/* Title */
.hero-title {
    font-size: 42px;                    /* 🔥 upgraded */
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.hero-title span {
    display: block;                     /* cleaner line */
    color: #07f3f3;
    font-size: 22px;
    margin-top: 10px;
}

/* Description */
.hero-description {
    margin: 20px auto;
    font-size: 16px;
    max-width: 520px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}

/* Optional note */
.hero-note {
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}

/* ================= FEATURES ================= */
.hero-features {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;            /* 🔥 center align */
    gap: 12px;
}

.hero-features span {
    background: rgba(255,255,255,0.12);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #ffffff;
}

/* ================= BUTTON AREA (BELOW) ================= */
.hero-right {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ================= CARD ================= */
/* ACTION BUTTONS (NO CARD) */
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 20px;
}

/* BUTTON BASE */
.cta-button {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: 0.25s ease;
}

/* PRIMARY */
.cta-button.primary {
    background: #4CAF7D;
    color: white;
}

.cta-button.primary:hover {
    background: #3e9f6b;
    transform: translateY(-2px);
}

/* SECONDARY */
.cta-button.secondary {
    border: 1px solid rgba(255,255,255,0.6);
    color: white;
    background: transparent;
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.1);
}


/* ================================
   ANIMATION
================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .hero-box {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

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

/* ================================
   CONTACT SECTION (MODERN GLASS)
================================ */

.contact {
    padding: 20px;
    text-align: center;
    margin-top: -30px;
}

/* Title */
.contact h3 {
    font-size: 20px;
    font-weight: 600;
    color: rgba(2, 54, 94, 0.85);
    margin-bottom: 12px;   /* tighter */
}

/* Glass container */
.contact-container {
    max-width: 500px;   /* 🔥 more compact */
    margin: 10px auto;

    padding: 20px;      /* 🔥 tighter spacing */
    border-radius: 10px;

    background: rgb(244, 249, 249);  /* ✅ brighter */
    backdrop-filter: blur(18px);

    box-shadow: 0 20px 50px rgba(0,0,0,0.35);  /* ✅ stronger depth */

    border: 1px solid rgba(255,255,255,0.3);  /* ✅ visible edge */
}

/* Form groups */
.form-group {
    text-align: left;
    margin-bottom: 10px;
}

/* Labels */
.form-group label {
    font-weight: 500;
    color: rgba(2, 54, 94, 0.85);
    font-size: 13px;
    margin-bottom: 3px;
    display: block;
}

/* Inputs */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;

    border: 1px solid rgb(199, 196, 196);
    background: rgba(255,255,255,0.08);
    color: rgba(2, 54, 94, 0.85);

    font-size: 12px;

    transition: all 0.25s ease;
}

/* Placeholder */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(43, 67, 84, 0.5);
}

/* Focus */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d1b2;
    box-shadow: 0 0 0 3px rgba(0,209,178,0.15);
}

/* Button */
.contact-button {
    width: 30%;
    margin-top: 8px;

    background: #027a66;
    color: rgb(232, 233, 234);

    border: none;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;

    border-radius: 8px;
    cursor: pointer;

    transition: all 0.25s ease;
}


/* Button hover */
.contact-button:hover {
    background: #3e9f6b;
    transform: translateY(-2px);
}

.contact-subtext {
  font-size: 14px;
  color: #939394;
  margin-bottom: 20px;
  text-align: center;
}
/* -------- login button --- */
.auth-links {
  margin-top: 14px;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}

.login-link {
  color: #4f46e5;
  font-weight: 500;
  text-decoration: none;
  margin-left: 4px;
}

.login-link:hover {
  text-decoration: underline;
  color: #3730a3;
}

/* ------- --------- */
.contact-float-group {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 10px;
  z-index: 1000;
}

.contact-float-group .contact-float {
  position: static; /* 🔥 override fixed */
}



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

/* TABLETS */
@media (max-width: 992px){

    .section-container{
        padding:50px 30px;
    }

    /* HERO FIX */
    .hero-box{
        flex-direction: column;
        gap: 30px;
        text-align: center;
        width: 100%;
        padding: 40px;
    }

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

    .hero-features{
        justify-content: center;
    }

    .hero-card{
        width: 100%;
        max-width: 350px;
    }

    /* CONTACT */
    .contact-container{
        max-width: 100%;
    }
}


/* MOBILE */
@media (max-width: 768px){

    .section-container{
        padding:40px 20px;
    }

    .hero-box{
        padding: 30px 20px;
    }

    .hero-title{
        font-size: 32px;
    }

    .hero-description{
        font-size: 15px;
    }

    .hero-features span{
        font-size: 12px;
        padding: 6px 10px;
    }

    .hero-card{
        width: 100%;
        max-width: 100%;
        padding: 25px;
    }

    .cta-button{
        font-size: 14px;
        padding: 10px;
    }

    .contact-container{
        padding:25px;
    }
}


/* ================================
   LARGE SCREENS (FIXED)
================================ */

@media (min-width: 1400px){

    .hero-box{
        width: 75%;
    }

    .hero-title{
        font-size: 48px;
    }

    .hero-description{
        font-size: 18px;
    }
}

@media (min-width: 1800px){

    .hero-box{
        width: 65%;
    }

    .hero-title{
        font-size: 54px;
    }
}