/* ===========================
   Font Faces
   =========================== */
@font-face {
    font-family: 'PlayfairDisplay';
    src: url('Fonts/Playfair_Display/Playfair_Display.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'WorkSans';
    src: url('Fonts/Work_Sans/WorkSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Quicksand';
    src: url('Fonts/Quicksand/Quicksand-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ===========================
   Main Theme Colors
   =========================== */
:root {     
    
    --main-blue:#1C2D4A;
    --main-green: #1cd99d;
    --main-red: #FA5548;
    --text-color: #444444;
    --body-bg: #F5F5F0;
    --main-bg: #fffff7;
}

/* ===========================
   Base Layout & Typography
   =========================== */
body {
    margin: 0;
    background-color: var(--body-bg);
    color: var(--text-color);
    line-height: 1.6;
    font-family: 'Quicksand', sans-serif;
    padding: 0;
}
header {
    margin: 0;
    padding: 0;
    width: 100%;
}
main {
    background: var(--main-bg);
    padding-top: 30px;
    padding-bottom: 20px;
    padding-left: 50px;
    padding-right: 50px;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    width: 80vw;
}
footer {
    text-align: center;
    padding: 16px 0;
    font-size: 0.95em;
}

/* ===========================
   Headings & Paragraphs
   =========================== */
h1, h2 {
    margin: 0;
    padding: 0;
    padding-bottom: 20px;
    box-sizing: border-box;
    font-family: 'PlayfairDisplay', serif;
}
h2 {
    font-size: 30px;
}
p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1em;
    margin-bottom: 12px;
    margin-top: 0;
}

/* ===========================
   Navbar Styles
   =========================== */
nav {
    margin: 0;
    padding: 0;
    width: 100%;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-blue);
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    height: 56px;
}
nav ul li {
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 1em;
}
nav ul li a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 24px;
    color: var(--body-bg);
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    transition: background 0.2s;
    box-sizing: border-box;
}
nav ul li a:hover {
    background-color: var(--main-red);
    color: var(--main-blue);
}

/* Logo Styles */
.logo {
    width: 70px;
    height: 70px;
    display: block;
    object-fit: contain;
    background: none;
    border: none;
    margin: 0 auto;
    border-radius: 0; /* Remove any circle styling */
}
nav ul li:first-child a {
    margin-left: 10px;
    margin-right: 16px;
    padding-top: 0;
    padding-bottom: 0;
    background: none !important;
    color: inherit !important;
}

/* ===========================
   Dropdown Menu
   =========================== */
.dropdown {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 100%;
}
.dropdown .dropdown-btn {
    background: var(--main-blue);
    color: var(--body-bg);
    border: none;
    padding: 0 24px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.2s;
    height: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    font-size: 1em;
}
.dropdown .dropdown-btn:hover {
    background: var(--main-red);
}
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--main-bg);
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s;
    pointer-events: none;
    border-radius: 0.5rem;
    z-index: 10;
}
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.dropdown-content a {
    color: #374151;
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: block;
    font-family: 'Quicksand', sans-serif;
    font-size: 1em;
    border-radius: 0.25rem;
    transition: background 0.2s;
}
.dropdown-content a:hover {
    background: #f3f4f6;
}
nav ul li.dropdown {
    position: relative;
    margin: 0; /* Remove margin for dropdown as well */
    display: flex;
    align-items: center;
}

/* ===========================
   Header Box
   =========================== */
#header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    min-height: 28vh;
    margin-top: 0;
    margin-bottom: 3vh;
    background: linear-gradient(90deg, var(--main-blue) 0%, var(--main-green) 100%);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    border-radius: 0 0 32px 32px;
    position: relative;
    overflow: hidden;
}
#header-center {
    display: flex;
    justify-content: center;
    width: 90vw;
    max-width: 1200px;
}
#header-text {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(1rem, 4vw, 3rem);
    font-family: 'PlayfairDisplay', serif;
    font-weight: bolder;
    color: #fff;
    background: rgba(0,0,0,0.20);
    padding: 0.2em 1.2em;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    text-align: center;
    letter-spacing: 1.5px;
}

/* ===========================
   Free Consultation Button
   =========================== */
.consultation-link {
    margin-left: auto;
    height: 100%;
    display: flex;
    align-items: center;
}
.consultation-link .consult-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 200px;
    background: var(--main-red);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-left: 8px;
    margin-right: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    align-self: center;
}
.consult-btn span {
    color: var(--main-bg);
    font-size: 1.1em;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.consult-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--main-red);
}

/* ===========================
   Typewriter Effect
   =========================== */
#typewriter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    min-height: 28vh;
    margin-top: 0;
    margin-bottom: 3vh;
    background: linear-gradient(90deg, var(--main-blue) 0%, var(--main-green) 100%);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    border-radius: 0 0 32px 32px;
    position: relative;
    overflow: hidden;
}
#typewriter-center {
    display: inline-flex;
    justify-content: flex-end;
    width: 90vw;
    max-width: 1200px;
}
#typewriter {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: clamp(1rem, 4vw, 3rem);
    font-family: 'PlayfairDisplay', serif;
    font-weight: 1000;
    color: var(--main-bg);
    background: rgba(0,0,0,0.20);
    padding: 0.2em 1.2em;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    text-align: right;
    letter-spacing: 1.5px;
}
#changing-text {
    display: inline-block;
    color: var(--main-bg);
    direction: ltr;
    text-align: right;
}
.static-text {
    color: #fffbe7;
    font-weight: 400;
    letter-spacing: normal;
    padding-left: 0;
    padding-right: 0;
}
.static-text::before {
    content: "";
}
.static-text .help-text {
    margin-left: 0.5em;
    display: inline;
}



/* ===========================
   Consultation Form Styles
   =========================== */
.consult-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    font-family: 'Quicksand', sans-serif;
}
.consult-form label {
    font-weight: 600;
    color: var(--main-blue);
    font-size: 1em;
}
.consult-form input,
.consult-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1em;
    font-family: 'Quicksand', sans-serif;
    background-color: #fff;
    color: #333;
    transition: border 0.3s, box-shadow 0.3s;
}
.consult-form input:focus,
.consult-form textarea:focus {
    border-color: var(--main-green);
    box-shadow: 0 0 4px rgba(28, 217, 157, 0.3);
    outline: none;
}

/* Responsive layout */
@media (max-width: 700px) {
  .consult-form input,
  .consult-form textarea {
    font-size: 1em;
  }
}

/* ===========================
   Unique Submit Button Style
   =========================== */
.submit-btn {
    display: inline-block;
    background: var(--main-blue);
    color: var(--main-bg);
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    font-size: 1.3em;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    align-self: start;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: var(--main-red);
}

.submit-btn span {
    position: relative;
    z-index: 2;
}

/* ===========================
   Dropdown Styling for Location
   =========================== */
select#location {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1em;
    font-family: 'Quicksand', sans-serif;
    background-color: #fff;
    color: #333;
    transition: border 0.3s, box-shadow 0.3s;
}

select#location:focus {
    border-color: var(--main-green);
    box-shadow: 0 0 4px rgba(28, 217, 157, 0.3);
    outline: none;
}

/* Responsive: shrink the width on small screens */
@media (max-width: 700px) {
    #typewriter-center {
        width: 70vw;
        min-width: 0;
        max-width: 100vw;
    }

    #typewriter {
        flex-direction: column;
        align-items: center;
        text-align: center;
        white-space: normal
    }

    #changing-text,
    .static-text {
        display: block;
        width: 100%;
        text-align: center;
    }

    .static-text .help-text {
        display: block;
        margin-top: 0.25em;
    }

    #typewriter {
        font-size: clamp(2rem, 6vw, 3rem);
        padding: 0.2em 0.5em;
        border-radius: 10px;
        text-align: center;
        text-wrap: normal;
        white-space: normal;
    }

    #header-center {
        width: 70vw;
        min-width: 0;
        max-width: 100vw;
    }

    #header-text {
        font-size: clamp(2rem, 6vw, 3rem);
        padding: 0.2em 0.5em;
        border-radius: 10px;
        text-align: center;
        text-wrap: normal;
        white-space: normal;
    }

    #header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        white-space: normal
    }

    main {
        padding: 16px 4vw;
    }

    .logo {
        width: 10vw;
        height: 10vw;
    }

    nav ul li a {
        padding: 0 clamp(10px, 1vw, 24px);
        font-size: clamp(0.7em, 2vw, 1em);
    }
    nav ul li a:hover {
        background-color: var(--main-red);
        color: var(--main-blue);
    }

    .dropdown .dropdown-btn {
        padding: 0 clamp(10px, 1vw, 24px);
        font-size: clamp(0.7em, 2vw, 1em);
    }

    .dropdown-content {
        min-width: 100px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .dropdown-content a {
        padding: 0.5rem 1rem;
    }
    
    .consultation-link .consult-btn {
        width: 25vw;
        margin-left: 2px;
        margin-right: 2px;
    }
    .consult-btn span {
        padding: 0 clamp(5px, 0.5vw, 24px);
        font-size: clamp(0.5em, 3vw, 1em);
        text-align: center
    }
}


/* ===========================
   End of Styles
   =========================== */

   