* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

    font-family: "Roboto", sans-serif;
    font-family: "Cardo", serif;
}


:root {
    --color-white: #F7F4ED;
    --color-dark-blue: #0D1B2A;
    --color-brighter-blue: #0F2C43;
    --color-gold: #F3BC16;
    --color-light-blue: #3E92CC;
}

body {
    background-color: var(--color-white);
}

/* body.light-mode {
    background-color: var(--color-white);
    color: var(--color-dark-blue);
}
body.dark-mode {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
} */

#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-gold);
    transition: color 0.3s ease;
}
#theme-toggle svg {
  vertical-align: middle;
  width: 50px;
  height: auto;
}


h1 {
    font-family: "Gilda Display", serif;
    font-weight: 400;
}

h2, h3, h4, h5, h6 {
    font-family: "Gilda Display", serif;
    color: inherit;
}

p {
    color: inherit;
    font-size: 20px;
    line-height: 1.5;
}

a {
    transition: all ease-in-out 0.4s;
    text-decoration: none;
}

.inner {
    margin: auto;
    max-width: 1300px;
    width: 90%;
}

body {
    position: relative;
}

section {
    scroll-margin-top: 100px; 
}

header {
    /* background: linear-gradient(to bottom, var(--color-dark-blue), var(--color-light-blue)); */
    background-color: var(--color-light-blue);
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    /* border-top: 4px solid var(--color-gold); */
    z-index: 3;
    padding: 15px 0;

    background: linear-gradient(181deg, #f7f4ed, #f7f4ed9c);
    backdrop-filter: blur(5px);
}

/* .light-mode header {
	background-color: var(--color-white);
} */

/* .dark-mode header {
	background-color: var(--color-dark-blue);
} */

header .inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.header-logo img {
    width: 160px;
    height: auto;
    transition: width 0.3s ease;
}

.header-logo {
    color: var(--color-dark-blue);
    font-family: "Cardo", serif;
    font-weight: 400;
    font-size: 34px;
}

header.scrolled .header-logo img {
    width: 100px;
}

header nav {
    
}

nav a {
    display: inline-block;
    color: inherit;
    margin: 0 10px;
    position: relative;
    font-size: 18px;
    color: var(--color-dark-blue);
    font-family: "Cardo", serif;
}

nav a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: -4px; /* space below text */
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold);
    transition: transform 0.3s ease;
}


nav a:not(.cta-button):hover::after {
    transform: translateX(-50%) scaleX(1);
}

button.cta-button,
a.cta-button {
    display: inline-block;
    margin-right: 0;
    color: var(--color-white);
    background-color: var(--color-light-blue);
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    appearance: none;
    cursor: pointer;
    font-size: 18px;
    font-family: "Cardo", serif;

    background: var(--color-light-blue);
    background: #2e74a4;
}

button.cta-button:hover,
a.cta-button:hover {
    background-color: var(--color-gold);
    transition: all 0.6s ease-in-out;
    color: var(--color-dark-blue);
}

.hero-section {
    position: relative;
    /* background-image: url("./images/elenith_star.png"); */
    background-size: 30px;
    background-repeat: repeat;
    /* background-color: #f7f4ed; */
    /* background-blend-mode: overlay; */
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f7f4ed;
    background-image: url(./images/elenith_star.png), url(./images/elenith_star.png);
    background-position: 0 0, 75px 75px;
    background-size: 150px, 150px;
    opacity: 0.1;
    z-index: -1;
}

.hero-section .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    padding: 150px 0 125px;
    /* background-color: var(--color-light-blue); */
    /* background: linear-gradient(to top, var(--color-dark-blue), var(--color-light-blue)); */
    /* position: absolute; */
    /* right: 0; */
    /* top: 60%; */ 
    /* transform: translateY(-50%); */
    width: 54%;
    width: 600px;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
}

.hero-section img, 
.hero-section svg {
    width: 45%;
    height: auto;
    /* transform: scaleX(-1); */
    height: auto;
    object-fit: cover;
}

.hero-content h1 {
    color: var(--color-brighter-blue);
    font-size: 56px;
    line-height: 1.3;
}

.hero-content p {
    color: var(--color-brighter-blue);
    margin: 20px 0;
}

.copy-section {
    padding: 75px 0 100px;
    text-align: center;
    background: linear-gradient(to top, var(--color-gold), var(--color-white));
}

.italics {
    /* color: var(--color-dark-blue); */
    font-size: 42px;
    margin-bottom: 10px;
    font-family: "Cardo", serif;
    font-weight: 400;
    color: var(--color-brighter-blue);
}

.subtitle {
    /* color: var(--color-dark-blue); */
    font-size: 21px;
    font-weight: 500;
    /* text-transform: uppercase; */
    margin: 20px 0;
    color: var(--color-brighter-blue);
    text-align: center;
}

.divider {
    width: 35%;
    height: 2px;
    background-color: var(--color-light-blue);
    margin: 20px auto;
}

.copy-section p {
    /* color: var(--color-dark-blue); */
}

.copy-section .inner {
    max-width: 800px;
}

.signup-section {
    background: linear-gradient(to bottom, var(--color-dark-blue), var(--color-brighter-blue));
    padding: 50px 0;
}

.signup-section .inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    margin: 0 auto;
    align-items: flex-start;
}

.signup-content {
    flex: 1 1 40%;
}

.signup-content h2 {
    color: var(--color-white);
    font-size: 45px;
    margin-bottom: 0.5em;
    font-family: "Cardo", serif;
    font-weight: 400;
    /* text-align: center; */
    margin-top: 22px;
}

.signup-content p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-white);
}

.signup-form {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

label {
    flex: 1;
    display: flex;
    flex-direction: column;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-dark-blue);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    padding: 0.6em;
    border: 1px solid var(--color-white);
    border-radius: 4px;
    font-size: 1rem;
    margin-top: 0.3em;
    width: 100%;
    background-color: var(--color-white);
}

label::before {
    border-radius: 2px;
}

input:focus,
textarea:focus {
    border-color: var(--color-light-blue);
    /* box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.2); */
    background-color: var(--color-light-blue);
}

label.form-label:focus-within::before {
    border-color: var(--color-light-blue);
    border-radius: 2px;
    /* box-shadow: 0 0 0 3px rgba(198, 198, 198, 0.2); */
    background-color: var(--color-light-blue);
    color: var(--color-white);
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-right: 0.5em;
    padding: 0;
    border: 1px solid var(--color-white);
    border-radius: 4px;
    background-color: var(--color-white);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    flex-shrink: 0;
    margin-top: 5px;
}

input[type="checkbox"]:checked {
    border-color: var(--color-light-blue);
    background-color: var(--color-light-blue);
}

input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-size: 12px;
    font-weight: bold;
}

input[type="checkbox"]:focus {
    outline: none;
    border-color: var(--color-light-blue);
    box-shadow: 0 0 0 2px rgba(62, 146, 204, 0.2);
}

textarea {
    resize: none;
}

.checkbox-row label {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.checkbox-label {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5em;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    font-weight: 500;
    /* text-transform: uppercase; */
    color: var(--color-white);
}

label {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 1.5em;
}

label.form-label::before {
    content: attr(data-label);
    position: absolute;
    top: -0.75em;
    left: 0.75em;
    background-color: var(--color-white);
    padding: 0 0.5em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-light-blue);
}

.side-side-section {
    padding: 75px 0;
}

.side-side-section .inner {
    display: flex;
    justify-content: space-between;
}

.side-side-section img {
    width: 47%;
    height: auto;
}

.about-content {
    width: 47%;
}

.services {
    padding: 75px 0;
}

.services .inner {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.services-top {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}
  
.service-card {
    width: 100%;
    width: 31%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}
  
.service-card img {
    width: 100%;
    aspect-ratio: 16 / 9; 
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}
  
  /* Text box that overlaps bottom of image */
.card-content {
    background: var(--color-white);
    padding: 20px 20px 40px;
    z-index: 1;
    position: relative;
    text-align: center;
}
  
.card-content h3 {
    font-size: 24px;
}
  
.card-content p {
    margin: 20px 0;
    font-size: 16px;
}
  
.card-content a {
    display: inline-block;
    background-color: var(--color-light-blue);
    color: white;
    text-decoration: none;
    padding: 0.5em 1.2em;
    font-weight: bold;
    text-transform: none;
}

  
footer {
    background: linear-gradient(to top, var(--color-dark-blue), var(--color-brighter-blue));
    border-top: 4px solid var(--color-gold);
    padding: 50px 0;
}
  
footer .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

footer nav a {
    color: var(--color-white);
    font-size: 18px;
}

footer .header-logo {
    color: var(--color-white);
    font-size: 34px;
    font-family: "Cardo", serif;
    font-weight: 400;
}

footer .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

footer .footer-bottom p {
    color: var(--color-white);
    font-size: 18px;
}

footer .footer-bottom a {
    color: var(--color-white);
    font-size: 18px;
}

footer .footer-bottom a:hover {
    color: var(--color-gold);
}

footer p.paid-p {
    border: 1px solid var(--color-white);
    padding: 10px;
    border-radius: 5px;
}

.process-section {
    padding: 75px 0;
}

.process-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    margin-top: 30px;
}

.process-card {
    width: 31%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    padding: 20px;
    /* justify-content: center; */
    align-items: center;
    text-align: center;
    background: linear-gradient(to top, var(--color-dark-blue), var(--color-brighter-blue));
}


.service-card {
    background-color: white;
}
.service-card .card-content {
    background-color: transparent;
}

.process-card img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    aspect-ratio: 1 / 1; 
    /* display: none; */
}

.process-card h3 {
    font-size: 24px;
    color: var(--color-white);
    margin-top: 10px;
}

.process-card .divider {
    width: 35%;
    height: 2px;
    background-color: var(--color-light-blue);
    margin: 20px auto;
}

.process-card p {
    margin: 20px 0;
    font-size: 16px;
    color: var(--color-white);
    margin-top: 0;
}

/* Form Messages */
.form-message {
    margin-top: 1em;
    padding: 1em;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Disabled button state */
button.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #ccc;
}

button.cta-button:disabled:hover {
    background-color: #ccc;
    color: var(--color-white);
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--color-dark-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--color-dark-blue), var(--color-brighter-blue));
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    color: var(--color-white);
    font-size: 2rem;
    font-family: "Cardo", serif;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-nav a.cta-button {
    background-color: var(--color-light-blue);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.mobile-nav a.cta-button:hover {
    background-color: var(--color-gold);
    color: var(--color-dark-blue);
}

/* Privacy Policy Styles */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-section h3 {
    color: var(--color-brighter-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: "Gilda Display", serif;
    font-weight: 400;
}

.privacy-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--color-brighter-blue);
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.privacy-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-brighter-blue);
}

.privacy-list li::before {
    content: "•";
    color: var(--color-light-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* media queries */
@media (max-width: 1200px) {
    .process-card,
    .service-card {
        width: 47%;
    }
}

@media (max-width: 1000px) {
    .signup-section .inner {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .hamburger {
        display: flex;
    }
    
    nav.main {
        display: none;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    header .inner {
        justify-content: space-between;
    }
    
    .process-card,
    .service-card {
        width: 100%;
    }
    footer .footer-bottom,
    footer .inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        display: flex;
    }
    footer nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    .hero-content h1 {
        font-size: 39px;
        line-height: 1.1;
    }
    .italics {
        font-size: 35px;
    }
}