/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #4d4f4d;
    background-color: #ebe5df;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Improve touch targets for mobile */
a, button, input, select, textarea {
    -webkit-tap-highlight-color: rgba(18, 148, 148, 0.3);
}

a {
    color: #129494;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header Styles */
header {
    background-color: #129494;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 80px;
}

.header-contact {
    text-align: right;
}

.header-contact p {
    margin: 0;
    font-size: 16px;
}

.header-contact strong {
    font-size: 20px;
    color: #242423;
}

/* Navigation Styles */
nav {
    background-color: #242423;
    position: relative;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    z-index: 1000;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

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

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s;
    white-space: nowrap;
}

nav ul li a:hover,
nav ul li.current a {
    background-color: #129494;
}

/* Submenu Styles */
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #242423;
    min-width: 250px;
    flex-direction: column;
    z-index: 1000;
}

nav ul li:hover ul {
    display: flex;
}

nav ul li ul li {
    width: 100%;
}

nav ul li ul li a {
    padding: 0.75rem 1.5rem;
    white-space: normal;
}

/* Hero Section */
.hero {
    position: relative;
    background: url('DL.jpg') center/cover no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #242423;
}

.hero-content {
    background: rgba(18, 148, 148, 0.9);
    padding: 3rem;
    max-width: 800px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.hero .btn {
    background-color: #ffffff;
    color: #129494;
    border: 3px solid #ffffff;
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.hero .btn:hover {
    background-color: #242423;
    color: #ffffff;
    border-color: #242423;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.feature-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #ffffff;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.feature-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.feature-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(18, 148, 148, 0.95);
    color: #ffffff;
    padding: 1rem;
    margin: 0;
    text-align: center;
}

.feature-item:hover h3 {
    background: rgba(13, 112, 112, 0.95);
    color: #ffffff;
}

/* Content Section */
.content-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.content-section .main-content {
    margin: 0;
    padding: 2rem;
}

/* Sidebar */
.sidebar {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
}

.sidebar h3 {
    color: #242423;
    margin-bottom: 1rem;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ebe5df;
}

.sidebar ul li:last-child {
    border-bottom: none;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    background: #ffffff;
    border-radius: 10px;
    padding: 3rem;
}

.main-content h1 {
    color: #242423;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.main-content h2 {
    color: #242423;
    font-size: 2rem;
    margin: 2.5rem 0 0.5rem;
    font-weight: bold;
    line-height: 1.3;
}

.main-content h3 {
    color: #129494;
    font-size: 1.3rem;
    margin: 0 0 1.5rem;
    font-weight: normal;
    line-height: 1.4;
}

.main-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.services-list {
    margin: 2rem 0;
    padding-left: 2rem;
}

.services-list li {
    margin-bottom: 0.5rem;
    color: #4d4f4d;
}

.btn {
    display: inline-block;
    background-color: #129494;
    color: #ffffff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.btn:hover {
    background-color: #0d7070;
    color: #ffffff;
}

/* Footer */
footer {
    background-color: #242423;
    color: #129494;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-brand {
    background-color: #ffffff;
    padding: 2rem 0;
    text-align: center;
}

.footer-brand img {
    max-height: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-content p {
    margin: 0.5rem 0;
}

.footer-content a {
    color: #129494;
}

.footer-content a:hover {
    color: #0d7070;
}

/* Form Styles */
.form-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 3rem;
    background: #ffffff;
    border-radius: 10px;
}

.form-section h1 {
    color: #242423;
    margin-bottom: 1rem;
}

.form-section p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #242423;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    background-color: #129494;
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
}

.submit-btn:hover {
    background-color: #0d7070;
    color: #ffffff;
}

.radio-group {
    display: flex;
    gap: 2rem;
}

.radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Page Styles */
.contact-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.map-section {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
}

.map-section h2 {
    color: #242423;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 5px;
    margin-bottom: 2rem;
}

.contact-info h3 {
    color: #129494;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info a {
    color: #129494;
    font-weight: bold;
}

.contact-info a:hover {
    color: #0d7070;
}

.hours p {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.hours strong {
    min-width: 50px;
}

.contact-container .form-section {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    margin: 0;
}

.contact-container .form-section h2 {
    color: #242423;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-container .form-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .header-container {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .logo img {
        max-height: 60px;
    }

    .header-contact {
        text-align: center;
        margin-top: 1rem;
    }

    .header-contact p {
        font-size: 14px;
    }

    .header-contact strong {
        font-size: 18px;
    }

    /* Mobile Navigation */
    nav {
        min-height: 50px;
        display: flex;
        align-items: center;
    }

    .hamburger {
        display: flex;
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        margin: 0.5rem 1rem;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #242423;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        z-index: 999;
    }

    nav ul.active {
        max-height: 2000px;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid #3a3a3a;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        text-align: left;
        padding: 1rem;
        font-size: 16px;
        white-space: normal;
    }

    /* Mobile Submenu */
    nav ul li ul {
        position: static;
        display: flex;
        flex-direction: column;
        background-color: #1a1a1a;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav ul li.has-submenu.submenu-open > ul {
        max-height: 600px;
    }

    nav ul li ul li a {
        padding: 0.75rem 1rem 0.75rem 2rem;
        font-size: 15px;
        border-bottom: 1px solid #2a2a2a;
    }

    nav ul li ul li:last-child a {
        border-bottom: none;
    }

    /* Add arrow indicator for submenu on mobile */
    nav ul li.has-submenu > a::after {
        content: ' ▼';
        font-size: 0.8em;
        margin-left: 0.5rem;
    }

    nav ul li.has-submenu.submenu-open > a::after {
        content: ' ▲';
    }

    /* Hero Section */
    .hero {
        min-height: 350px;
        padding: 2rem 1rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .hero h3 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero .btn {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    /* Feature Grid */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        margin: 1.5rem auto;
    }

    .feature-item img {
        height: 200px;
    }

    .feature-item h3 {
        font-size: 1.1rem;
        padding: 0.75rem;
    }

    /* Content Section */
    .content-section {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        margin: 2rem auto;
        gap: 1.5rem;
    }

    .content-section .main-content {
        padding: 1.5rem;
    }

    .main-content {
        padding: 1.5rem 1rem;
    }

    .main-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .main-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 0.5rem;
    }

    .main-content h3 {
        font-size: 1.15rem;
        margin: 0 0 1rem;
    }

    .main-content p {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Sidebar */
    .sidebar {
        padding: 1.5rem;
    }

    .sidebar h3 {
        font-size: 1.25rem;
    }

    .sidebar ul li {
        padding: 0.75rem 0;
        font-size: 15px;
    }

    /* Buttons */
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 16px;
        display: block;
        text-align: center;
        width: 100%;
        max-width: 300px;
        margin: 1rem auto;
    }

    /* Forms */
    .form-section {
        padding: 2rem 1.5rem;
        margin: 1.5rem auto;
    }

    .form-section h1 {
        font-size: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
    }

    .submit-btn {
        width: 100%;
        font-size: 16px;
    }

    /* Contact Page */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .map-section {
        padding: 1.5rem;
    }

    .map-section h2 {
        font-size: 1.25rem;
    }

    .map-section iframe {
        height: 250px;
    }

    .contact-info h3 {
        font-size: 1.1rem;
        margin-top: 1rem;
    }

    .contact-container .form-section {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-brand {
        padding: 1.5rem 0;
    }

    .footer-brand img {
        max-height: 60px;
    }

    footer {
        padding: 1.5rem 0;
    }

    .footer-content {
        padding: 0 1rem;
        font-size: 14px;
    }

    .footer-content p {
        margin: 0.5rem 0;
    }
}

/* Extra small devices (phones in portrait, less than 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.25rem;
    }

    .hero h3 {
        font-size: 1rem;
    }

    .hero .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .feature-item img {
        height: 180px;
    }

    .feature-item h3 {
        font-size: 1rem;
    }

    nav ul li a {
        padding: 0.875rem;
        font-size: 15px;
    }

    .main-content h1 {
        font-size: 1.5rem;
    }

    .main-content h2 {
        font-size: 1.35rem;
    }

    .main-content h3 {
        font-size: 1.05rem;
    }

    .content-section .main-content,
    .sidebar,
    .map-section,
    .contact-container .form-section {
        padding: 1rem;
    }

    .map-section iframe {
        height: 200px;
    }
}

