/* Reset & Base */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: "Gill Sans", sans-serif;
    line-height: 1;
    font-weight: 400;
    color: #333;
}

.container {
    max-width: 160rem;
    margin: 0 auto;
}

.grid {
    display: grid;
    column-gap: 16rem;
}

.grid-2-cols {
    grid-template-columns: repeat(2, 1fr);
}

.grid-2-cols-alt {
    grid-template-columns: repeat(2, 1fr);
}
/* Header */
.header {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 56px;
    width: 158px;
}

.nav-links {
    font-size: 1rem;
    list-style: none;
    display: flex;
    gap: 50px;
    margin-left: auto;
    margin-right: 45px;
    margin-top: 10px;
    font-size: 1.5rem;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    text-wrap-mode: nowrap;
    color: #333;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 400;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    transform: scale(1.05);
    color: #015cb1;
    text-decoration: none;
}

.nav-links a:hover::after {
    background-color: #015cb1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2.8rem;
    cursor: pointer;
    color: #333;
}

.mobile-menu {
    display: none;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 8rem;
    left: 0;
    right: 0;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.mobile-nav a {
    padding: 2rem 3rem;
    text-decoration: none;
    color: #374151;
    font-size: 1.8rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.3s ease;
}

.mobile-nav a:hover {
    background-color: #f9fafb;
}

/* Other Sections */
.other-section {
    margin: 3.2rem 9.6rem 5rem 9.6rem;
}

/* Hero/Carousel Section */
.carousel {
    max-width: 160rem;
    margin: 4rem 9.6rem 5rem 9.6rem;
    color: #223045;
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: center;
}

.heading {
    flex: 1;
}

.heading-text {
    font-size: 3.6rem;
    font-weight: 600;
    line-height: 1.2;
}

.image-box {
    flex: 2;
    text-align: -webkit-right;
}

.slideshow-image {
    max-width: 100%;
    object-fit: contain;
    height: calc(100vh - 31rem);
}

.dots {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 2rem);
    display: flex;
    gap: 12px;
}

.dot {
    height: 1.2rem;
    width: 1.2rem;
    background-color: #fff;
    border: 2px solid #a3a3a3;
    border-radius: 50%;
    cursor: pointer;
}

.dot--fill {
    background-color: #a3a3a3;
}

/* Features Section */
.features-head {
    font-size: 3.6rem;
    font-weight: 600;
    margin-top: 7.6rem;
    margin-bottom: 7.6rem;
    text-align: center;
}

.feature-container {
    grid-template-columns: repeat(1, 1fr);
    display: grid;
    justify-content: center;
    align-items: center;
}

.feature {
    padding-bottom: 8rem;
    display: flex;
    align-items: center;
    gap: 10rem;
}

.feature-reverse {
    padding-bottom: 8rem;
    display: flex;
    align-items: center;
    gap: 10rem;
    flex-direction: row-reverse;
}

.feature-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1.6rem;
}

.feature-image-box {
    width: 80%;
}

.feature-image {
    margin-bottom: 1.6rem;
    height: 29.8rem;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
}

.feature-text {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.6px;
}

/* Info Section */
.info {
    text-align: center;
    padding-bottom: 10rem;
}

.info-title {
    font-size: 2.4rem;
    font-weight: 600;
    padding-top: 1.2rem;
}

.info-content {
    font-size: 1.8rem;
    font-weight: 500;
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
    line-height: 1.6;
    letter-spacing: 1px;
}

/* Contact Section */
.register {
    text-align: left;
    color: #004d87;
    position: relative;
    padding-bottom: 15rem;
}

.register-title {
    font-size: 2.4rem;
    font-weight: 500;
    padding-bottom: 2rem;
    text-align: center;
}

.register-form {
    color: #223045;
    font-size: 1.4rem;
    font-family: inherit;
}

.register-grid {
    row-gap: 2.4rem;
}

/* Updated: Target divs inside register-grid */
.register-grid > div {
    display: flex;
    flex-direction: column;
}

.register-grid > div label {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.register-grid > div input,
.register-grid > div select {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.8rem;
    border: none;
    background-color: #f8f8f8;
    border-radius: 9px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: #223045;
}

.register-grid > div select {
    font-family: "Gill Sans", sans-serif;
}

.register-footer {
    text-align: right;
    padding-top: 2.4rem;
}

.btn-submit {
    font-size: 1.6rem;
    font-weight: 500;
    padding: 1.5rem;
    width: 15rem;
    text-decoration: none;
    cursor: pointer;
    border-radius: 33px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border: none;
    color: #fff;
    background-color: #2563eb;
    letter-spacing: 0.2rem;
}

.footer {
  margin: 3.2rem 9.6rem 3.2rem 9.6rem;
}

.copyright {
  display: inline-block;
  font-size: 1.2rem;
}

.privacy-terms {
  align-self: end;
  text-align: right;
  font-size: 1.2rem;
}
.container {
  max-width: 160rem;
  margin: 0 auto;
  /* padding-top: 1.6rem; */
}
/* Responsive for contact form */
@media (max-width: 660px) {
    .register-grid {
        grid-template-columns: 1fr !important;
    }
    
    .other-section {
        margin: 3.2rem 4rem 5rem 4rem;
    }
    .footer {
        margin: 1.2rem 3.2rem;
    }

    .grid {
        column-gap: 2rem;
    }
}

@media (max-width: 480px) {
    .other-section {
        margin: 3.2rem 2rem 5rem 2rem;
    }
    .grid {
        column-gap: 1.6rem;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    html {
        font-size: 56.25%;
    }
}

@media (max-width: 950px) {
    .carousel {
        flex-direction: column;
        margin: 2rem 4rem 8rem 4rem;
        gap: 3rem;
        text-align: center;
    }

    .heading {
        flex: none;
        width: 100%;
    }

    .heading-text {
        font-size: 3rem;
        padding-bottom: 0 !important;
        margin-bottom: 2rem;
    }

    .image-box {
        flex: none;
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .slideshow-image {
        max-width: 85%;
        height: calc(100vh - 31rem);
        object-fit: contain;
    }

    .grid-4-cols-pricing {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .carousel {
        margin: 2rem 2rem 8rem 2rem;
        gap: 2rem;
    }

    .heading-text {
        font-size: 2.4rem;
        line-height: 1.3;
    }

    .slideshow-image {
        max-width: 90%;
        min-height: 250px;
        height: calc(100vh - 26rem);
    }
}

@media (max-width: 660px) {
    .register-grid {
        grid-template-columns: 1fr !important;
    }
    
    .other-section {
        margin: 3.2rem 4rem 5rem 4rem;
    }
}

@media (max-width: 600px) {
    .feature,
    .feature-reverse {
        flex-direction: column;
    }

    .feature-image-box {
        width: 80%;
    }
}

@media (max-width: 550px) {
    .header {
        padding: 1.5rem 2rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .grid-4-cols-pricing {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .carousel {
        margin: 1.5rem 1.5rem 7rem 1.5rem;
    }

    .heading-text {
        font-size: 2rem;
        line-height: 1.4;
    }

    .slideshow-image {
        max-width: 95%;
        min-height: 200px;
    }

    .register-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:380px){
    .pricing-plan-actions p {
        font-size: 3.6rem;
    }
    .pricing-plan-actions button {
        font-size: 1rem;
    }
    .footer {
        margin: 1.2rem 0.5rem;
    }
}

