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

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-accent: #01e194;
    --color-light-gray-bg: #f5f5f5;
    --color-medium-gray: #666666;
    --color-light-gray-text: #999999;
    --color-border: #e5e5e5;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 120px;
    height: 120px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Contact Section */
.contact-section {
    background-color: #f0f0f0;
    padding: 4rem 0;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 0.9fr 1.3fr;
        gap: 2.5rem;
    }
}

.contact-info {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease 0.2s forwards;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #000;
    position: relative;
    display: inline-block;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-accent);
    animation: expandWidth 1s ease 0.5s forwards;
}

.info-block {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.info-block:nth-child(2) { animation-delay: 0.4s; }
.info-block:nth-child(3) { animation-delay: 0.6s; }
.info-block:nth-child(4) { animation-delay: 0.8s; }

.info-block h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

/* .info-block:hover h4 {
    color: var(--color-accent);
} */

.phone {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.phone:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.info-block p {
    font-size: 1.125rem;
    font-weight: 300;
    color: #000;
    line-height: 1.6;
    margin: 0;
}

.gmaps-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-top: 1rem;
    color: #01e194;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.gmaps-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.gmaps-link:hover::after {
    width: 100%;
}

.gmaps-link:hover {
    color: #00c492;
    transform: translateX(5px);
}

.gmaps-link svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.gmaps-link:hover svg {
    transform: scale(1.2);
}

/* Form Section */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 100%;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease 0.3s forwards;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.form-group {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.form-group:nth-child(1) { animation-delay: 0.5s; }
.form-group:nth-child(2) { animation-delay: 0.6s; }
.form-group:nth-child(3) { animation-delay: 0.7s; }
.form-group:nth-child(4) { animation-delay: 0.8s; }
.form-group:nth-child(5) { animation-delay: 0.9s; }
.form-group:nth-child(6) { animation-delay: 1s; }

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: #5a5a5a;
    margin-bottom: 0.5rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.form-group:focus-within label {
    color: var(--color-accent);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem;
    font-size: 1rem;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    font-family: inherit;
    min-height: 48px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00D9A3;
    box-shadow: 0 0 0 3px rgba(1, 225, 148, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
    padding: 1rem 1rem;
}

.submit-btn {
    background-color: #01e194;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 1.1s forwards;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

@media (min-width: 768px) {
    .submit-btn {
        width: auto;
    }
}

.submit-btn:hover {
    background-color: #00c492;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(1, 225, 148, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
    animation: shake 0.4s ease;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #ef4444;
    animation: shake 0.4s ease;
}

.form-group.error .error-message {
    display: block;
}

.success-message {
    background-color: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
    transform: translateY(-20px);
    opacity: 0;
}

.success-message.show {
    display: block;
    animation: slideDown 0.5s ease forwards;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 60%;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

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

/* Responsive */
@media (max-width: 1024px) {
    .obligation-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .mega-dropdown {
        min-width: 90vw;
        max-width: 90vw;
        padding: 40px 35px;
        left: 50%;
        transform: translateX(-50%);
        top: 90px;
    }

    .dropdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .dropdown-column-title {
        font-size: 12px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .dropdown-link {
        font-size: 13px;
        padding: 8px 10px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    .container {
        padding: 0 24px;
    }

    .header-content {
        height: 80px;
        padding: 0 24px;
    }

    .logo-link {
        display: none;
    }

    .mobile-logo {
        display: block;
        width: 56px;
        height: 56px;
    }

    nav .nav-list {
        display: none;
    }

    .mega-dropdown {
        display: none;
    }

    nav .nav-divider {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-section {
        margin-top: 0;
        min-height: 100vh;
        background-attachment: scroll;
    }

    .hero-content {
        flex-direction: column;
        text-align: left;
        padding: 40px 24px;
    }

    .hero-text {
        width: 100%;
    }

    .hero-heading {
        font-size: 40px;
    }

    .hero-decoration {
        margin-top: 40px;
        max-width: 280px;
        width: 60%;
    }

    @media (max-width: 480px) {
        .hero-decoration {
            display: none;
        }
    }

    .intro-section {
        padding: 60px 24px;
    }

    .intro-heading {
        font-size: 32px;
    }

    .intro-text {
        font-size: 16px;
    }

    .specialise-section {
        padding: 60px 24px;
    }

    .specialise-heading {
        font-size: 28px;
    }

    .accordion-trigger {
        padding: 24px;
    }

    .accordion-trigger-left {
        gap: 16px;
    }

    .accordion-content-inner {
        padding: 0 24px 24px 60px;
    }

    .obligation-section {
        padding: 60px 24px;
    }

    .obligation-heading {
        font-size: 32px;
    }

    .full-image-section {
        height: 300px;
    }

    .cta-banner {
        padding: 32px 24px;
    }

    .cta-text {
        font-size: 24px;
    }

    footer {
        padding: 60px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-center {
        justify-content: center;
    }

    .footer-right {
        text-align: center;
    }
}

/* Fade-in utility class */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}