
/* 1. Global Styles */
* { 
    box-sizing: border-box; 
}

body { 
    margin: 0; 
    padding: 0; 
    font-family: 'Arial', sans-serif; 
    line-height: 1.6; 
    color: #333;
    /* ആവശ്യമെങ്കിൽ ഇവിടെ width: 100% കൂടി നൽകാം */
    width: 100%;
}

/* ഹെഡറുകളെ സെന്ററിൽ നിർത്താനുള്ള ഗ്ലോബൽ സെറ്റിംഗ് - മാറ്റം വരുത്തിയത് */
h1, h2, h3 {
    text-align: center;
    margin-bottom: 30px; /* '0 auto' ഒഴിവാക്കി താഴെ മാത്രം ഗ്യാപ്പ് നൽകി */
    margin-top: 20px;
}

/* CTA ബട്ടണുകൾക്ക് പ്രത്യേകം മാർജിൻ നൽകുക */
.cta, .cta-button { 
    display: inline-block;
    background: #ff0000; 
    color: #fff; 
    padding: 10px 20px; 
    text-decoration: none; 
    border-radius: 5px; 
}
/* Hero Section Container */
.hero-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image-box {
    position: relative;
    width: 100%;
    /* മൊബൈലിലും ഡെസ്ക്ടോപ്പിലും ഇമേജ് മുറിയാതിരിക്കാൻ */
    aspect-ratio: 16 / 9; 
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ഇമേജ് സ്ട്രെച്ച് ആകാതെ കറക്റ്റ് ആയി ഇരിക്കും */
    display: block;
}

/* Content over image */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.hero-content h1 { color: #ff0000; font-size: 3rem; margin-bottom: 10px; }
.hero-content p { color: #000000; font-size: 1.2rem; margin-bottom: 20px; }
.hero-content .cta { 
    background: #ff0000; color: #fff; padding: 10px 20px; 
    text-decoration: none; border-radius: 5px; 
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .hero-image-box { aspect-ratio: 1 / 1; } /* മൊബൈലിൽ സ്ക്വയർ രീതി */
    .hero-content h1 { font-size: 1.5rem; }
    .hero-content p { font-size: 1rem; }
}
.hero-image-box {
    position: relative;
    width: 100%;
    height: 500px; /* ഡെസ്ക്ടോപ്പിൽ 500px മാത്രം */
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%; /* ബോക്സിനുള്ളിൽ മാത്രം ഒതുങ്ങിനിൽക്കും */
    object-fit: cover; /* ഇമേജ് മുറിയാതെ ഫിൽ ചെയ്യും */
    display: block;
}

/* മൊബൈൽ വ്യൂവിൽ ഇമേജിന്റെ സൈസ് കുറയ്ക്കുന്നു */
@media (max-width: 768px) {
    .hero-image-box {
        height: 250px; /* മൊബൈലിൽ 250px ഹൈറ്റ് മാത്രം */
    }
}


/* Welcome Section - പൂർണ്ണമായും സെപ്പറേറ്റ് ആക്കി */
.welcome-section {
    width: 100%;
    padding: 40px 10%; /* വശങ്ങളിൽ ഗ്യാപ്പ് */
    text-align: justify; /* വരികൾ ഇരുവശത്തും കൃത്യമായി നിരന്നു നിൽക്കാൻ */
    text-align-last: center; /* അവസാനത്തെ വരി സെന്ററിൽ വരാൻ */
    line-height: 1.6;
    color: #333;
}
    display: block; /* മറ്റു സെക്ഷനുകളെ ബാധിക്കില്ല */
    margin: 0;
}

.welcome-container {
    max-width: 800px;
    margin: 0 auto; /* മധ്യഭാഗത്ത് വരാൻ */
}

.welcome-container h1 {
    color: #ff0000;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.welcome-container p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ff0000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

/* മൊബൈൽ വ്യൂവിൽ മാത്രം */
@media (max-width: 768px) {
    .welcome-section {
        padding: 30px 5%; /* മൊബൈലിൽ പാഡിങ് കുറച്ചു */
    }
    .welcome-container h1 {
        font-size: 1.8rem;
    }
    .welcome-container p {
        font-size: 1rem;
    }
}
/* 4. Services Grid */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    padding: 50px 10%; 
}
.service-card { border: 1px solid #ddd; padding: 15px; text-align: center; text-decoration: none; color: #333; }
.service-card img { width: 80%; height: 150px; object-fit: cover; }


/* പ്രധാന ഹെഡിംഗ് (Why Choose Us?) - വലിപ്പം കൂട്ടി */
.why-choose-us h2 {
    color: #e04b4b;
    font-size: 40px;          /* വലിപ്പം കൂട്ടി */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

/* ലിസ്റ്റിലെ സബ്-ഹെഡിംഗുകൾ - ചുവപ്പ് നിറത്തിലാക്കി */
.features-list li strong {
    color: #e04b4b;           /* സബ്-ഹെഡിംഗ് ചുവപ്പ് നിറം */
    display: block;           /* സബ്-ഹെഡിംഗ് മുകളിലും ഡിസ്ക്രിപ്ഷൻ താഴെയും വരാൻ */
    margin-bottom: 5px;
    font-size: 18px;          /* സബ്-ഹെഡിംഗിന്റെ വലിപ്പം */
}

/* ലിസ്റ്റിലെ ടെക്സ്റ്റ് (ഡിസ്ക്രിപ്ഷൻ) */
.features-list li {
    font-size: 16px;
    color: #333;              /* ഡിസ്ക്രിപ്ഷൻ കറുപ്പ് നിറം */
}

/* മൊബൈൽ വ്യൂവിൽ ഒരൊറ്റ കോളത്തിലേക്ക് മാറാൻ */
@media (max-width: 768px) {
    .features-list {
        grid-template-columns: 1fr;
    }

}.testimonials {
    padding: 50px 10%;
    background-color: #fff;
    text-align: center;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* ഒരു ചെറിയ ഷാഡോ */
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px); /* മൗസ് വെക്കുമ്പോൾ ചെറിയൊരു ഉയർച്ച */
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.testimonial-card strong {
    color: #e04b4b; /* നിങ്ങളുടെ തീം നിറം */
}

@media (max-width: 768px) {
    /* മൊബൈലിൽ ടെക്സ്റ്റ് വലുപ്പം കുറയ്ക്കുന്നു */
    .hero-content h1 {
        font-size: 1.8rem; /* ഹെഡിങ് ചെറുതാക്കുന്നു */
    }

    .hero-content p {
        font-size: 1rem; /* സബ്-ഹെഡിങ് ചെറുതാക്കുന്നു */
        padding: 0 10px; /* വശങ്ങളിൽ അല്പം സ്ഥലം വിടുന്നു */
    }

    .hero-content .cta-button {
        padding: 8px 16px; /* ബട്ടൺ മൊബൈലിന് പാകത്തിൽ ആക്കുന്നു */
        margin-top: 20px; /* ബട്ടൺ താഴേക്ക് കുറച്ചുകൂടി മാറ്റുന്നു */
    }

    /* മൊബൈലിൽ ഇമേജ് മുറിയാതിരിക്കാൻ */
    .hero-section {
        height: 350px; /* ഹൈറ്റ് കുറയ്ക്കുന്നു */
    }
/* Gallery Section */
.gallery {
    margin-bottom: 50px;
    padding-top: 20px;
}

.gallery h2 {
    text-align: center;
    color: #ff0000;
    margin-bottom: 30px;
    font-size: 32px;
}

.gallery-grid {
    display: grid;
    /* 4 ചിത്രങ്ങൾ ഒരേ വരിയിൽ വരാൻ */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    padding: 0 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* മൊബൈൽ വ്യൂവിനായി മാത്രം */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* മൊബൈലിൽ 2 എണ്ണം വീതം */
    }
}

}

/* ഇത് നിങ്ങളുടെ CSS ഫയലിൽ ഏറ്റവും അവസാനം ചേർക്കുക */
.features-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* കൃത്യം രണ്ട് കോളങ്ങൾ */
    gap: 30px !important; /* കോളങ്ങൾ തമ്മിലുള്ള അകലം */
    list-style: none !important;
    padding: 0 !important;
    margin: 30px auto !important;
    max-width: 1000px !important;
}

/* മൊബൈൽ വ്യൂവിൽ മാത്രം ഒരൊറ്റ കോളം */
@media (max-width: 768px) {
    .features-list {
        grid-template-columns: 1fr !important;
    }
}