:root {
    --primary-color: #4a90e2;
    --secondary-color: #f1c40f;
    --accent-color: #2c3e50;
    --background-color: #fffbc9;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --transition: all 0.3s ease;
    
    /* Typography scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: var(--text-base);
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header & Navigation - Mobile First */
header {
    background: linear-gradient(135deg, var(--primary-color), #357abd);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: white;
    text-decoration: none;
}

nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-family: 'Aptos', sans-serif;
    text-align: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

nav a:hover::before {
    left: 0;
}

nav a:hover {
    background-color: #357abd;
    transform: translateY(-2px);
}

/* Hero Section - Mobile First */
.hero {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
}

.hero img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    filter: brightness(60%);
    padding: 20px;
    border-radius: 150px;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.hero-text {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    font-family: 'Aptos', sans-serif;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtext {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Main Content Sections */
section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

h1 {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.2;
}

h2 {
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h3 {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

p {
    line-height: 1.5;
}

/* Content Rows for About Page - Mobile First */
.content-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.content-row {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.content-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-section {
    width: 100%;
    margin-bottom: 1rem;
}

.image-section img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.content-row:hover .image-section img {
    transform: scale(1.05);
}

.text-section {
    width: 100%;
}

/* Services Grid - Mobile First */
.services-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-image {
    max-width: 100%;
    margin-bottom: 2rem;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    padding: 20px;
}

.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
}

.contact {
    max-width: 100%;
    margin-bottom: 2rem;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    padding: 20px;
}

.contact img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    padding: 30px;
}

.contact-image{
    max-width: 100%;
    margin-bottom: 2rem;
    margin: 5rem auto;
    height: auto;
    overflow: hidden;
    border-radius: 500px;
    padding: 20px;

}

/* Team Grid */
.team-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.team-member {
    background-color: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 200px rgba(0, 0, 0, 0.15);
}

.about {
    background-color: rgb(255, 246, 161);
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 200px rgba(0, 0, 0, 0.15);
}

/* Forms - Mobile First */
.enquiry-form, .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
    margin: 2rem auto;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input, select, textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: var(--text-base);
    transition: var(--transition);
    background: #f8f9fa;
}

input:focus, select:focus, textarea:focus {
    border-color: #4a90e2;
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #d4ac0d);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-lg);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
}

button:hover, .button:hover {
    background-color: #d4ac0d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.4);
}

/* Map */
.map {
    width: 100%;
    height: 300px;
    background-color: #ddd;
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    border: none;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--accent-color), #1a252f);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    text-align: left;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.custom-ul {
    margin: 20px;
    padding: 0;
    list-style-type: square;
    font-family: Arial, sans-serif;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    nav {
        flex-direction: row;
        gap: 1rem;
        width: auto;
    }
    
    nav a {
        padding: 0.75rem 1.25rem;
    }
    
    .hero img {
        height: 60vh;
    }
    
    .hero-text {
        font-size: 3rem;
    }
    
    section {
        padding: 3rem 2rem;
    }
    
    .content-row {
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .image-section {
        flex: 1;
        max-width: 40%;
        margin-bottom: 0;
    }
    
    .image-section img {
        height: 250px;
    }
    
    .text-section {
        flex: 2;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .enquiry-form, .contact-form {
        max-width: 600px;
        padding: 2.5rem;
    }
    
    .service-image img, .contact img {
        height: 350px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-text {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    section {
        padding: 4rem 2rem;
    }
    
    .image-section img {
        height: 300px;
    }
    
    .content-row {
        gap: 3rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .nav-container, section {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 480px) {
    .hero-text {
        font-size: 2rem;
    }
    
    .hero-subtext {
        font-size: 1rem;
    }
    
    section {
        padding: 1.5rem 1rem;
    }
    
    .service-card, .content-row {
        padding: 1rem;
    }
    
    .map {
        height: 250px;
    }
    
    .enquiry-form, .contact-form {
        padding: 1.5rem;
        margin: 1rem;
    }
}

/* Print Styles */
@media print {
    header, footer, .hero, .button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }
    
    section {
        padding: 1cm;
        max-width: none;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --secondary-color: #ff0000;
        --text-color: #000000;
        --background-color: #ffffff;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #ffffff;
        --background-color: #1a1a1a;
    }
    
    .service-card, .content-row, .enquiry-form, .contact-form {
        background: #2d2d2d;
        color: white;
    }
}