:root {
 --color-primary: #0F3460;
 --color-secondary: #E94560;
 --color-tertiary: #1A1A2E;
 --color-light: #FCF8F8;
 --color-dark: #1A1A2E;
 --color-text-dark: #333;
 --color-text-light: #f4f4f4;
 --color-gold: #FFD700; /* For highlighting */

 --font-primary: 'Montserrat', sans-serif;
 --font-secondary: 'Open Sans', sans-serif;

 --max-width: 1200px;
 --header-height: 80px; /* Default desktop header height */
 --transition-duration: 0.3s;
 --border-radius-sm: 8px;
 --border-radius-md: 12px;
 --box-shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.1);
 --box-shadow-md: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Base Styles & Reset */
*, *::before, *::after {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
}

body {
 font-family: var(--font-secondary);
 line-height: 1.6;
 color: var(--color-text-dark);
 background-color: var(--color-light);
 overflow-x: hidden;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

a {
 text-decoration: none;
 color: var(--color-primary);
 transition: color var(--transition-duration) ease;
}

a:hover {
 color: var(--color-secondary);
}

ul {
 list-style: none;
}

img {
 max-width: 100%;
 height: auto;
 display: block;
}

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-primary);
 line-height: 1.2;
 margin-bottom: 0.8em;
 color: var(--color-dark);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h4 { font-size: clamp(1.2rem, 3vw, 1.8rem); }

p {
 margin-bottom: 1em;
}

.container {
 max-width: var(--max-width);
 margin: 0 auto;
 padding: 0 20px;
}

.section {
 padding: 80px 0;
 position: relative;
 overflow: hidden;
}

.section.bg-light {
 background-color: #f8f8f8;
}

.section-title {
 text-align: center;
 margin-bottom: 40px;
 position: relative;
 padding-bottom: 15px;
}

.section-title::after {
 content: '';
 position: absolute;
 left: 50%;
 bottom: 0;
 transform: translateX(-50%);
 width: 60px;
 height: 4px;
 background-color: var(--color-secondary);
 border-radius: 2px;
}

.section-description {
 text-align: center;
 max-width: 800px;
 margin: -20px auto 60px auto;
 font-size: 1.1em;
 color: #555;
}

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

.mt-lg {
 margin-top: 50px;
}

/* Buttons */
.btn {
 display: inline-block;
 padding: 12px 28px;
 border-radius: 50px;
 font-weight: 600;
 transition: all var(--transition-duration) ease;
 text-align: center;
 border: none;
 cursor: pointer;
 font-size: 1rem;
}

.btn-primary {
 background-color: var(--color-primary);
 color: var(--color-light);
 box-shadow: 0 4px 10px rgba(15, 52, 96, 0.3);
}

.btn-primary:hover {
 background-color: var(--color-secondary);
 transform: translateY(-3px);
 box-shadow: 0 6px 15px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
 background-color: var(--color-secondary);
 color: var(--color-light);
 box-shadow: 0 4px 10px rgba(233, 69, 96, 0.3);
}

.btn-secondary:hover {
 background-color: var(--color-primary);
 transform: translateY(-3px);
 box-shadow: 0 6px 15px rgba(15, 52, 96, 0.4);
}

.btn-outline {
 background-color: transparent;
 color: var(--color-primary);
 border: 2px solid var(--color-primary);
}

.btn-outline:hover {
 background-color: var(--color-primary);
 color: var(--color-light);
 transform: translateY(-3px);
}

.btn-link {
 background: none;
 border: none;
 padding: 0;
 color: var(--color-secondary);
 text-decoration: underline;
 font-weight: 500;
 font-size: 1rem;
}

.btn-link:hover {
 color: var(--color-primary);
 text-decoration: none;
}

/* Header & Navigation */
.main-header {
 background-color: var(--color-tertiary);
 position: fixed;
 width: 100%;
 z-index: 1000;
 transition: all 0.4s ease;
 height: var(--header-height);
 display: flex;
 align-items: center;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-header.scrolled {
 height: 60px;
 background-color: rgba(26, 26, 46, 0.95);
 box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.navbar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 max-width: var(--max-width);
 margin: 0 auto;
 padding: 0 20px;
 width: 100%;
}

.logo {
 color: var(--color-light);
 font-family: var(--font-primary);
 font-size: 1.8rem;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 1px;
 opacity: 0; /* For animation */
 animation: fadeIn 0.8s ease forwards 0.2s;
}

.nav-links {
 display: flex;
 gap: 30px;
}

.nav-links li a {
 color: var(--color-light);
 font-weight: 500;
 position: relative;
 padding: 5px 0;
 opacity: 0; /* For animation */
}

.nav-links li a::after {
 content: '';
 position: absolute;
 left: 0;
 bottom: 0;
 width: 0;
 height: 2px;
 background-color: var(--color-secondary);
 transition: width var(--transition-duration) ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
 width: 100%;
}

.nav-links li:nth-child(1) a { animation: fadeInRight 0.5s ease forwards 0.4s; }
.nav-links li:nth-child(2) a { animation: fadeInRight 0.5s ease forwards 0.5s; }
.nav-links li:nth-child(3) a { animation: fadeInRight 0.5s ease forwards 0.6s; }
.nav-links li:nth-child(4) a { animation: fadeInRight 0.5s ease forwards 0.7s; }
.nav-links li:nth-child(5) a { animation: fadeInRight 0.5s ease forwards 0.8s; }
.nav-links li:nth-child(6) a { animation: fadeInRight 0.5s ease forwards 0.9s; }
.nav-links li:nth-child(7) a { animation: fadeInRight 0.5s ease forwards 1.0s; }
.nav-links li:nth-child(8) a { animation: fadeInRight 0.5s ease forwards 1.1s; }

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 padding: 10px;
 z-index: 1001;
}

.nav-toggle span {
 display: block;
 width: 25px;
 height: 3px;
 background-color: var(--color-light);
 margin: 5px 0;
 transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
 transform: rotate(-45deg) translate(-5px, 6px);
}
.nav-toggle.active span:nth-child(2) {
 opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
 transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero-section {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 min-height: 100vh;
 text-align: center;
 color: var(--color-light);
 background: linear-gradient(135deg, var(--color-tertiary) 0%, var(--color-primary) 100%);
 position: relative;
 overflow: hidden;
 padding-top: var(--header-height); /* Offset for fixed header */
}

.hero-section::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%239C92AC" fill-opacity="0.1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zm0 28v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0 28v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM2 28h2v4H0v-2h2zm0 28h2v4H0v-2h2zM58 28h2v4h-2v-2zm0 28h2v4h-2v-2zM2 36h2v4H0v-2h2zm0 28h2v4H0v-2h2zM58 36h2v4h-2v-2zm0 28h2v4h-2v-2zM28 2h4v2h-4zM28 6h4v2h-4zM28 10h4v2h-4zM28 14h4v2h-4zM28 18h4v2h-4zM28 22h4v2h-4zM28 26h4v2h-4zM28 30h4v2h-4zM28 34h4v2h-4zM28 38h4v2h-4zM28 42h4v2h-4zM28 46h4v2h-4zM28 50h4v2h-4zM28 54h4v2h-4zM28 58h4v2h-4zm25.56 2.06c1.1-1.1 1.48-2.6.84-4.04-2.45-5.12-10.4-8.86-19.16-9.15.54-1.28.9-2.66.9-4.1 0-7.38-6-13.6-13.6-13.6-7.5 0-13.6 6.1-13.6 13.6 0 7.2 5.6 13.1 12.8 13.5-2.03 2.05-3.5 4.54-4.22 7.3-.87 3.4 0 7 2.45 9.15 2.5 2.1 6 2.78 9.1-.1 2.37-2.2 3.56-5.1 3.56-8.5v-30c0-1.1.9-2 2-2s2 .9 2 2v30c0 3.8-1.46 7.3-4.27 10.08-.2.2-.4.4-.6.6 2.9 2.8 6.8 3.7 10.6 2.6 4.6-1.3 7.8-5.7 7.8-10.8v-30c0-1.1.9-2 2-2s2 .9 2 2v30zm-27.16-30.84c.3-.3.4-.6.4-.9 0-1.1-.9-2-2-2s-2 .9-2 2c0 .3.1.6.4.9zm-2.84 21.6c-.3.3-.4.6-.4.9 0 1.1.9 2 2 2s2-.9 2-2c0-.3-.1-.6-.4-.9zM10.8 18c0-1.1.9-2 2-2s2 .9 2 2V6h4V4h-4V0h-2v4h-4v2h4v12zm15.4 0c0-1.1.9-2 2-2s2 .9 2 2v-4h-4V0h-2v14zm-4-4v-2h-4v2zm-20 0v-2h-4v2a2 2 0 0 0 2 2h2v-2zm-4 4v-2h-4v2a2 2 0 0 0 2 2h2v-2zm-4 4v-2h-4v2a2 2 0 0 0 2 2h2v-2zm-4 4v-2h-4v2a2 2 0 0 0 2 2h2v-2zm-4 4v-2h-4v2a2 2 0 0 0 2 2h2v-2zm-4 4v-2h-4v2a2 2 0 0 0 2 2h2v-2zM48 2h4v2h-4zM48 6h4v2h-4zM48 10h4v2h-4zM48 14h4v2h-4zM48 18h4v2h-4zM48 22h4v2h-4zM48 26h4v2h-4zM48 30h4v2h-4zM48 34h4v2h-4zM48 38h4v2h-4zM48 42h4v2h-4zM48 46h4v2h-4zM48 50h4v2h-4zM48 54h4v2h-4zM48 58h4v2h-4zm-14-16h4v2h-4zm-4 4h4v2h-4zm-4 4h4v2h-4zm-4 4h4v2h-4zm-4 4h4v2h-4zm-4 4h4v2h-4zM0 4h2v2H0V4zm0 4h2v2H0V8zm0 4h2v2H0v10h2v-2h-2zm0-2h2v2H0v-2zm0-2h2v2H0v-2zm0-2h2v2H0v-2zm0-2h2v2H0v-2zm0-2h2v2H0v-2zm0-2h2v2H0v-2zm0-2h2v2H0v-2zm0-2h2v2H0v-2zm0-2h2v2H0v-2zm0-2h2v2H0v-2zm0 4v-2h2v2H0zM58 4h2v2h-2zm0 4h2v2h-2zm0 4h2v2h-2v10h2v-2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0 4v-2h2v2h-2zM48 4h2v2h-2zm0 4h2v2h-2zM48 12h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zM48 4v-2h2v2h-2zM48 0h2v2h-2zM48 8h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zM48 20h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zM48 24h2v2h-2zm0 4h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zM48 30h2v2h-2zm0 4h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zM48 36h2v2h-2zm0 4h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zM48 42h2v2h-2zm0 4h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zM48 48h2v2h-2zm0 4h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zM48 54h2v2h-2zm0 4h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zm0-2h2v2h-2zM4 0h2v2H4zM8 0h2v2H8zM12 0h2v2h-2zM16 0h2v2h-2zM20 0h2v2h-2zM24 0h2v2h-2zM32 0h2v2h-2zM36 0h2v2h-2zM40 0h2v2h-2zM44 0h2v2h-2zM52 0h2v2h-2zM56 0h2v2h-2zM4 60h2v2H4zM8 60h2v2H8zM12 60h2v2h-2zM16 60h2v2h-2zM20 60h2v2h-2zM24 60h2v2h-2zM32 60h2v2h-2zM36 60h2v2h-2zM40 60h2v2h-2zM44 60h2v2h-2zM52 60h2v2h-2zM56 60h2v2h-2zM0 4h2v2H0zM0 8h2v2H0zM0 12h2v2H0zM0 16h2v2H0zM0 20h2v2H0zM0 24h2v2H0zM0 32h2v2H0zM0 36h2v2H0zM0 40h2v2H0zM0 44h2v2H0zM0 48h2v2H0zM0 52h2v2H0zM0 56h2v2H0zM58 4h2v2h-2zM58 8h2v2h-2zM58 12h2v2h-2zM58 16h2v2h-2zM58 20h2v2h-2zM58 24h2v2h-2zM58 32h2v2h-2zM58 36h2v2h-2zM58 40h2v2h-2zM58 44h2v2h-2zM58 48h2v2h-2zM58 52h2v2h-2zM58 56h2v2h-2z'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
 background-size: 30px 30px;
 opacity: 0.1;
 z-index: 1;
}

.hero-content {
 -webkit-backdrop-filter: blur(3px); /* For frosted glass effect */
 backdrop-filter: blur(3px); /* For frosted glass effect */
 background-color: rgba(0, 0, 0, 0.4);
 padding: 40px;
 border-radius: var(--border-radius-md);
 max-width: 900px;
 z-index: 2;
 animation: fadeInScale 1s ease-out forwards;
}

.hero-title {
 font-size: clamp(2.8rem, 7vw, 5rem);
 margin-bottom: 20px;
 font-weight: 700;
 color: var(--color-light);
 letter-spacing: 1px;
 opacity: 0; /* For JS animation */
}

.hero-subtitle {
 font-size: clamp(1.2rem, 2.5vw, 1.8rem);
 margin-bottom: 40px;
 font-weight: 400;
 color: var(--color-light);
 padding: 0 15px;
 opacity: 0; /* For JS animation */
 animation: fadeIn 1s ease forwards 1s;
}

.hero-section .btn-primary {
 opacity: 0; /* For JS animation */
 animation: fadeIn 1s ease forwards 1.2s;
}

.hero-image {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 width: 100%;
 height: 100%;
 overflow: hidden;
 z-index: 0;
}

.hero-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 filter: brightness(0.6) grayscale(0.2);
 transform: scale(1.1);
 animation: heroImageZoom 8s ease-in-out infinite alternate;
}

/* Intro Section */
.intro-section {
 background-color: var(--color-light);
 color: var(--color-text-dark);
}

.intro-grid {
 display: flex;
 flex-wrap: wrap;
 gap: 30px;
 justify-content: center;
}

.intro-grid p {
 flex: 1 1 calc(33% - 20px);
 max-width: calc(33% - 20px);
 background-color: #fff;
 padding: 30px;
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-sm);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-grid p:hover {
 transform: translateY(-5px);
 box-shadow: var(--box-shadow-md);
}

/* Features Section */
.features-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 30px;
}

.feature-card {
 background-color: #fff;
 padding: 30px;
 border-radius: var(--border-radius-md);
 text-align: center;
 box-shadow: var(--box-shadow-sm);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 overflow: hidden;
 position: relative;
 border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
 transform: translateY(-8px);
 box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.feature-card img {
 width: 100%;
 height: 200px;
 object-fit: cover;
 border-radius: var(--border-radius-sm);
 margin-bottom: 20px;
 transition: transform 0.5s ease;
}

.feature-card:hover img {
 transform: scale(1.05);
}

.feature-card h3 {
 color: var(--color-primary);
 font-size: 1.5rem;
 margin-bottom: 15px;
}

.feature-card p {
 color: #666;
 margin-bottom: 25px;
 font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
 background: linear-gradient(135deg, var(--color-primary), var(--color-tertiary));
 color: var(--color-light);
 padding-bottom: 100px;
}

.testimonials-section .section-title {
 color: var(--color-light);
}
.testimonials-section .section-title::after {
 background-color: var(--color-light);
}

.testimonial-carousel {
 display: flex;
 justify-content: center;
 gap: 40px;
 flex-wrap: wrap;
}

.testimonial-card {
 background-color: rgba(255, 255, 255, 0.1);
 color: var(--color-light);
 padding: 35px;
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-md);
 max-width: 500px;
 text-align: center;
 border: 1px solid rgba(255, 255, 255, 0.2);
 transition: transform 0.5s ease;
 flex: 1 1 45%;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
}

.testimonial-card:hover {
 transform: translateY(-10px) scale(1.02);
 background-color: rgba(255, 255, 255, 0.15);
}

.testimonial-card .testimonial-quote {
 font-style: italic;
 font-size: 1.15rem;
 margin-bottom: 30px;
 position: relative;
}

.testimonial-card .testimonial-quote::before {
 content: '“';
 font-size: 4rem;
 color: var(--color-secondary);
 position: absolute;
 left: 50%;
 top: -10px;
 transform: translateX(-50%);
 opacity: 0.7;
 line-height: 1;
}

.testimonial-author {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 15px;
 margin-top: auto;
}

.testimonial-author img {
 width: 70px;
 height: 70px;
 border-radius: 50%;
 object-fit: cover;
 border: 3px solid var(--color-secondary);
}

.testimonial-author .author-name {
 font-weight: 600;
 font-size: 1.1rem;
 color: var(--color-gold);
 margin-bottom: 5px;
}

.testimonial-author .author-title {
 font-size: 0.9rem;
 opacity: 0.8;
}

/* Blog Preview Section */
.blog-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
 margin-top: 40px;
}

.blog-card {
 background-color: #fff;
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-sm);
 overflow: hidden;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
 transform: translateY(-8px);
 box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.blog-card img {
 width: 100%;
 height: 220px;
 object-fit: cover;
 border-top-left-radius: var(--border-radius-md);
 border-top-right-radius: var(--border-radius-md);
 transition: transform 0.5s ease;
}

.blog-card:hover img {
 transform: scale(1.05);
}

.blog-card h3 {
 margin: 20px 20px 10px 20px;
 font-size: 1.4rem;
}

.blog-card h3 a {
 color: var(--color-primary);
 transition: color 0.3s ease;
}

.blog-card h3 a:hover {
 color: var(--color-secondary);
}

.blog-card p {
 font-size: 0.95rem;
 color: #666;
 padding: 0 20px 20px 20px;
}

.blog-card .btn-link {
 display: block;
 margin: 0 20px 20px 20px;
 text-align: right;
}

/* Newsletter CTA */
.newsletter-cta {
 background: url('https://picsum.photos/seed/newsletter-bg/1920/600') no-repeat center center/cover;
 color: var(--color-light);
 text-shadow: 0 2px 4px rgba(0,0,0,0.5);
 position: relative;
 z-index: 1;
}

.newsletter-cta::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background-color: rgba(26, 26, 46, 0.7); /* Overlay */
 z-index: -1;
}

.newsletter-form {
 display: flex;
 justify-content: center;
 gap: 15px;
 max-width: 600px;
 margin: 40px auto 0 auto;
}

.newsletter-form input[type="email"] {
 flex: 1;
 padding: 12px 20px;
 border-radius: 50px;
 border: 1px solid rgba(255, 255, 255, 0.3);
 background-color: rgba(255, 255, 255, 0.15);
 color: var(--color-light);
 font-size: 1rem;
 transition: border-color var(--transition-duration) ease, background-color var(--transition-duration) ease;
}

.newsletter-form input[type="email"]::placeholder {
 color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input[type="email"]:focus {
 outline: none;
 border-color: var(--color-secondary);
 background-color: rgba(255, 255, 255, 0.25);
}

.newsletter-form .btn-primary {
 padding: 12px 30px;
}

/* Footer */
.main-footer {
 background-color: var(--color-dark);
 color: var(--color-text-light);
 padding: 60px 0 20px 0;
 font-size: 0.95rem;
 border-top: 5px solid var(--color-primary);
}

.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 30px;
 margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
 color: var(--color-light);
 font-family: var(--font-primary);
 font-size: 1.25rem;
 margin-bottom: 20px;
 position: relative;
}

.footer-col h3::after, .footer-col h4::after {
 content: '';
 position: absolute;
 left: 0;
 bottom: -5px;
 width: 40px;
 height: 3px;
 background-color: var(--color-secondary);
 border-radius: 2px;
}

.footer-col p {
 color: rgba(255, 255, 255, 0.8);
 margin-bottom: 10px;
}

.footer-col ul {
 padding: 0;
}

.footer-col ul li {
 margin-bottom: 8px;
}

.footer-col ul li a {
 color: rgba(255, 255, 255, 0.8);
 transition: color var(--transition-duration) ease, transform 0.2s ease;
 display: inline-block;
}

.footer-col ul li a:hover {
 color: var(--color-secondary);
 transform: translateX(5px);
}

.footer-contact p {
 word-break: break-word;
}

.social-icons {
 margin-top: 20px;
 display: flex;
 gap: 15px;
}

.social-icons a {
 display: inline-block;
 width: 30px;
 height: 30px;
 background-color: rgba(255, 255, 255, 0.15);
 border-radius: 50%;
 display: flex;
 justify-content: center;
 align-items: center;
 transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
 background-color: var(--color-secondary);
 transform: translateY(-5px) scale(1.1);
}

.social-icons img {
 width: 18px;
 height: 18px;
 filter: invert(1); /* makes the icon white */
}

.footer-bottom {
 text-align: center;
 padding-top: 30px;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 margin-top: 20px;
}

.footer-bottom p {
 font-size: 0.85rem;
 color: rgba(255, 255, 255, 0.6);
 margin: 0;
}

/* Utility Classes for Animations */
.reveal-on-scroll {
 opacity: 0;
 transform: translateY(50px);
 transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal-on-scroll.active {
 opacity: 1;
 transform: translateY(0);
}

.fade-in-up {
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.active {
 opacity: 1;
 transform: translateY(0);
}
.fade-in-up.active.delay-1 { transition-delay: 0.2s; }
.fade-in-up.active.delay-2 { transition-delay: 0.4s; }
.fade-in-up.active.delay-3 { transition-delay: 0.6s; }
.fade-in-up.active.delay-4 { transition-delay: 0.8s; }
.fade-in-up.active.delay-5 { transition-delay: 1.0s; }
.fade-in-up.active.delay-6 { transition-delay: 1.2s; }

.fade-in-left {
 opacity: 0;
 transform: translateX(-50px);
 transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-left.active {
 opacity: 1;
 transform: translateX(0);
}

.fade-in-right {
 opacity: 0;
 transform: translateX(50px);
 transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-right.active {
 opacity: 1;
 transform: translateX(0);
}

.fade-in-text p {
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-text p:nth-child(1).active { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.fade-in-text p:nth-child(2).active { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.fade-in-text p:nth-child(3).active { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

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

@keyframes fadeInScale {
 from { opacity: 0; transform: scale(0.9); }
 to { opacity: 1; transform: scale(1); }
}

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

@keyframes animatePulse {
 0% { transform: scale(1); }
 50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(233, 69, 96, 0.4); }
 100% { transform: scale(1); }
}

.animate-pulse {
 animation: animatePulse 2s infinite ease-in-out;
}

@keyframes heroImageZoom {
 0% { transform: scale(1.05); }
 100% { transform: scale(1.15); }
}

/* Specific Page Styles */
/* Contact Page */
.contact-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 50px;
 align-items: flex-start;
}

.contact-info {
 padding: 30px;
 background-color: #fff;
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-sm);
 animation: fadeInScale 0.8s ease-out forwards;
}

.contact-info h3 {
 color: var(--color-primary);
 margin-bottom: 20px;
}

.contact-info p {
 margin-bottom: 15px;
 display: flex;
 align-items: center;
 gap: 10px;
}

.contact-info p strong {
 color: var(--color-secondary);
}

.contact-info .icon {
 font-size: 1.2rem;
 color: var(--color-secondary);
}

.contact-form-container {
 padding: 30px;
 background-color: #fff;
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-sm);
 animation: fadeInScale 0.8s ease-out forwards 0.2s;
}

.contact-form-container h3 {
 color: var(--color-primary);
 margin-bottom: 20px;
}

.contact-form label {
 display: block;
 margin-bottom: 8px;
 font-weight: 600;
 color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
 width: 100%;
 padding: 12px 15px;
 margin-bottom: 20px;
 border: 1px solid #ddd;
 border-radius: var(--border-radius-sm);
 font-family: var(--font-secondary);
 font-size: 1rem;
 transition: border-color var(--transition-duration) ease, box-shadow var(--transition-duration) ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
 outline: none;
 border-color: var(--color-primary);
 box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.2);
}

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

.contact-map {
 margin-top: 50px;
 background-color: #fff;
 padding: 20px;
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-sm);
 overflow: hidden;
}

.contact-map h3 {
 text-align: center;
 margin-bottom: 20px;
 color: var(--color-primary);
}

.contact-map iframe {
 border-radius: var(--border-radius-sm);
 filter: grayscale(80%) hue-rotate(180deg) brightness(90%);
 transition: filter 0.5s ease;
}

.contact-map iframe:hover {
 filter: grayscale(0%) hue-rotate(0deg) brightness(100%);
}

/* About Page */
.about-hero {
 background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://picsum.photos/seed/about-hero/1920/700') no-repeat center center/cover;
 height: 60vh;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 color: var(--color-light);
 padding-top: var(--header-height);
}

.about-hero h1 {
 font-size: clamp(2.5rem, 6vw, 4.5rem);
 animation: fadeInScale 1s ease-out forwards;
}

.mission-vision-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
}

.mission-card, .vision-card {
 background-color: #fff;
 padding: 30px;
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-sm);
 text-align: center;
 border-left: 5px solid var(--color-primary);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mission-card:hover, .vision-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--box-shadow-md);
}

.mission-card h3, .vision-card h3 {
 color: var(--color-primary);
 margin-bottom: 15px;
}

.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 30px;
}

.team-member-card {
 background-color: #fff;
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-sm);
 overflow: hidden;
 text-align: center;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--box-shadow-md);
}

.team-member-card img {
 width: 100%;
 height: 250px;
 object-fit: cover;
 filter: grayscale(100%);
 transition: filter 0.5s ease;
}

.team-member-card:hover img {
 filter: grayscale(0%);
}

.team-member-info {
 padding: 25px;
}

.team-member-info h4 {
 color: var(--color-primary);
 margin-bottom: 8px;
 font-size: 1.3rem;
}

.team-member-info p {
 color: #666;
 font-size: 0.95rem;
 margin-bottom: 0;
}

.facilities-gallery {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 20px;
}

.facility-item {
 border-radius: var(--border-radius-md);
 overflow: hidden;
 box-shadow: var(--box-shadow-sm);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.facility-item:hover {
 transform: scale(1.03);
 box-shadow: var(--box-shadow-md);
}

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

/* Services Page */
.services-hero {
 background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://picsum.photos/seed/services-hero/1920/700') no-repeat center center/cover;
 height: 60vh;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 color: var(--color-light);
 padding-top: var(--header-height);
}

.services-hero h1 {
 font-size: clamp(2.5rem, 6vw, 4.5rem);
 animation: fadeInScale 1s ease-out forwards;
}

.service-card-lg {
 display: flex;
 background-color: #fff;
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-sm);
 margin-bottom: 40px;
 overflow: hidden;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card-lg:hover {
 transform: translateY(-8px);
 box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-card-lg:nth-child(even) {
 flex-direction: row-reverse;
}

.service-card-lg img {
 width: 40%;
 height: auto;
 object-fit: cover;
}

.service-card-lg .content {
 flex: 1;
 padding: 30px;
 display: flex;
 flex-direction: column;
 justify-content: center;
}

.service-card-lg .content h3 {
 color: var(--color-primary);
 margin-bottom: 15px;
 font-size: 1.8rem;
}

.service-card-lg .content p {
 color: #555;
 margin-bottom: 20px;
}

/* Blog Page */
.blog-hero {
 background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://picsum.photos/seed/blog-hero/1920/700') no-repeat center center/cover;
 height: 60vh;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 color: var(--color-light);
 padding-top: var(--header-height);
}
.blog-hero h1 {
 font-size: clamp(2.5rem, 6vw, 4.5rem);
 animation: fadeInScale 1s ease-out forwards;
}
.blog-grid-full {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
}

/* Blog Post Pages */
.blog-post-header {
 background: var(--color-tertiary);
 color: var(--color-light);
 padding: 80px 0 40px 0;
 text-align: center;
 padding-top: calc(var(--header-height) + 80px);
}

.blog-post-header h1 {
 font-size: clamp(2rem, 5vw, 3.5rem);
 margin-top: 0;
 animation: fadeInScale 1s ease-out forwards;
}

.blog-post-meta {
 font-size: 0.95rem;
 opacity: 0.8;
 animation: fadeIn 1s ease forwards 0.5s;
}

.blog-post-content {
 max-width: 900px;
 margin: 40px auto;
 padding: 0 20px;
 line-height: 1.8;
 font-size: 1.1rem;
}

.blog-post-content h2, .blog-post-content h3 {
 margin-top: 2.5em;
 margin-bottom: 0.8em;
 color: var(--color-primary);
 border-bottom: 2px solid var(--color-secondary);
 padding-bottom: 5px;
}

.blog-post-content img {
 margin: 30px auto;
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-md);
 animation: fadeInScale 0.8s ease-out forwards;
}

.blog-post-content blockquote {
 background-color: #f0f4f8;
 border-left: 5px solid var(--color-secondary);
 padding: 20px 30px;
 margin: 30px 0;
 font-style: italic;
 color: #555;
 border-radius: var(--border-radius-sm);
 animation: fade-in-left 0.8s ease-out forwards;
}

.blog-post-content ul, .blog-post-content ol {
 margin-left: 20px;
 margin-bottom: 20px;
 color: #555;
}

.author-box {
 display: flex;
 align-items: center;
 gap: 20px;
 background-color: #f8f8f8;
 padding: 25px;
 border-radius: var(--border-radius-md);
 margin: 50px auto;
 box-shadow: var(--box-shadow-sm);
 max-width: 900px;
 animation: fade-in-up 0.8s ease-out forwards;
}

.author-box img {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 border: 3px solid var(--color-primary);
 flex-shrink: 0;
}

.author-info h4 {
 margin-bottom: 5px;
 color: var(--color-primary);
}

.author-info p {
 font-size: 0.9rem;
 color: #666;
 line-height: 1.4;
 margin-bottom: 0;
}

/* Testimonials Page */
.testimonials-page-hero {
 background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://picsum.photos/seed/testimonials-hero/1920/700') no-repeat center center/cover;
 height: 60vh;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 color: var(--color-light);
 padding-top: var(--header-height);
}

.testimonials-page-hero h1 {
 font-size: clamp(2.5rem, 6vw, 4.5rem);
 animation: fadeInScale 1s ease-out forwards;
}

.testimonials-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
}

/* Gallery Page */
.gallery-hero {
 background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://picsum.photos/seed/gallery-hero/1920/700') no-repeat center center/cover;
 height: 60vh;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 color: var(--color-light);
 padding-top: var(--header-height);
}

.gallery-hero h1 {
 font-size: clamp(2.5rem, 6vw, 4.5rem);
 animation: fadeInScale 1s ease-out forwards;
}

.image-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 20px;
}

.gallery-item {
 border-radius: var(--border-radius-md);
 overflow: hidden;
 box-shadow: var(--box-shadow-sm);
 cursor: pointer;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
 transform: translateY(-5px) scale(1.02);
 box-shadow: var(--box-shadow-md);
 z-index: 10;
 position: relative;
}

.gallery-item img {
 width: 100%;
 height: 250px;
 object-fit: cover;
 transition: transform 0.5s ease;
}
.gallery-item:hover img {
 transform: scale(1.05);
}

/* Lightbox styles */
.lightbox {
 display: none; /* Hidden by default */
 position: fixed; /* Stay in place */
 z-index: 2000; /* Sit on top */
 left: 0;
 top: 0;
 width: 100%; /* Full width */
 height: 100%; /* Full height */
 overflow: auto; /* Enable scroll if needed */
 background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
 justify-content: center;
 align-items: center;
 animation: fadeIn 0.3s ease forwards;
}

.lightbox-content {
 margin: auto;
 display: block;
 max-width: 90%;
 max-height: 90%;
 object-fit: contain;
 animation: zoomIn 0.3s ease forwards;
}

@keyframes zoomIn {
 from { transform: scale(0.8); opacity: 0; }
 to { transform: scale(1); opacity: 1; }
}

.close-lightbox {
 position: absolute;
 top: 20px;
 right: 35px;
 color: #fff;
 font-size: 40px;
 font-weight: bold;
 transition: 0.3s;
 cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
 color: var(--color-secondary);
 text-decoration: none;
 cursor: pointer;
}

.lightbox-caption {
 margin-top: 15px;
 font-size: 1.1rem;
 text-align: center;
 color: #ccc;
}

/* FAQ Page */
.faq-hero {
 background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://picsum.photos/seed/faq-hero/1920/700') no-repeat center center/cover;
 height: 60vh;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 color: var(--color-light);
 padding-top: var(--header-height);
}

.faq-hero h1 {
 font-size: clamp(2.5rem, 6vw, 4.5rem);
 animation: fadeInScale 1s ease-out forwards;
}

.faq-accordion .accordion-item {
 background-color: #fff;
 margin-bottom: 15px;
 border-radius: var(--border-radius-md);
 box-shadow: var(--box-shadow-sm);
 overflow: hidden;
 transition: all 0.3s ease;
 border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-accordion .accordion-item:hover {
 box-shadow: var(--box-shadow-md);
}

.faq-accordion .accordion-header {
 padding: 20px 25px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 cursor: pointer;
 background-color: var(--color-primary);
 color: var(--color-light);
 font-weight: 600;
 font-size: 1.1rem;
 border-top-left-radius: var(--border-radius-md);
 border-top-right-radius: var(--border-radius-md);
}

.faq-accordion .accordion-header h4 {
 margin: 0;
 color: inherit;
 flex: 1;
}

.faq-accordion .accordion-header .icon {
 font-size: 1.5rem;
 margin-left: 15px;
 transition: transform 0.3s ease;
}

.faq-accordion .accordion-header.active {
 background-color: var(--color-secondary);
 border-bottom: none;
 border-bottom-left-radius: 0;
 border-bottom-right-radius: 0;
}

.faq-accordion .accordion-header.active .icon {
 transform: rotate(45deg);
}

.faq-accordion .accordion-content {
 background-color: #fcf8f8;
 padding: 0 25px;
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-out, padding 0.4s ease-out;
 border-bottom-left-radius: var(--border-radius-md);
 border-bottom-right-radius: var(--border-radius-md);
}

.faq-accordion .accordion-content p {
 padding: 20px 0;
 color: #444;
}

.faq-accordion .accordion-content.active {
 max-height: 300px; /* Adjust based on content */
 padding: 20px 25px;
}

/* Legal Pages (Privacy, Terms, Cookie, Refund, Disclaimer) */
.legal-page {
 padding-top: calc(var(--header-height) + 40px);
}
.legal-page h1 {
 color: var(--color-primary);
 text-align: center;
 margin-bottom: 40px;
 font-size: clamp(2rem, 5vw, 3.5rem);
}
.legal-page h2 {
 color: var(--color-secondary);
 margin-top: 3em;
 margin-bottom: 1em;
}
.legal-page h3 {
 color: var(--color-primary);
 margin-top: 2em;
 font-size: 1.3rem;
}
.legal-page ul {
 list-style-type: disc;
 margin-left: 20px;
 margin-bottom: 20px;
 color: #555;
}
.legal-page ol {
 list-style-type: decimal;
 margin-left: 20px;
 margin-bottom: 20px;
 color: #555;
}
.legal-page li {
 margin-bottom: 8px;
}
.legal-page p strong {
 color: var(--color-primary);
}

/* Thanks Page */
.thanks-section {
 min-height: 60vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 background-color: var(--color-light);
 color: var(--color-dark);
 padding: var(--header-height) 20px 40px 20px;
}

.thanks-section h1 {
 color: var(--color-primary);
 margin-bottom: 20px;
 font-size: clamp(2.5rem, 6vw, 4.5rem);
 animation: fadeInScale 1s ease-out forwards;
}

.thanks-section p {
 font-size: 1.2rem;
 max-width: 700px;
 margin-bottom: 40px;
 line-height: 1.8;
 color: #555;
 animation: fadeIn 1s ease forwards 0.5s;
}

.thanks-section .btn-primary {
 animation: fadeIn 1s ease forwards 0.8s;
}

/* 404 Page */
.error-section {
 min-height: 70vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 background: linear-gradient(135deg, var(--color-tertiary) 0%, var(--color-dark) 100%);
 color: var(--color-light);
 padding: var(--header-height) 20px 40px 20px;
}

.error-section h1 {
 font-size: clamp(5rem, 15vw, 10rem);
 margin-bottom: 10px;
 color: var(--color-secondary);
 animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
 from { transform: scale(1); text-shadow: 0 0 5px var(--color-secondary); }
 to { transform: scale(1.05); text-shadow: 0 0 15px var(--color-secondary), 0 0 30px rgba(233, 69, 96, 0.5); }
}

.error-section h2 {
 font-size: clamp(2rem, 5vw, 3.5rem);
 margin-bottom: 20px;
 color: var(--color-light);
 animation: fadeIn 1s ease forwards 0.5s;
}

.error-section p {
 font-size: 1.2rem;
 max-width: 600px;
 margin-bottom: 40px;
 line-height: 1.8;
 color: rgba(255, 255, 255, 0.8);
 animation: fadeIn 1s ease forwards 0.8s;
}

/* Media Queries */

/* Tablet (768px and below) */
@media screen and (max-width: 768px) {
 .main-header {
 height: 60px; /* Smaller header for tablet */
 }

 .navbar {
 padding: 0 15px;
 }

 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 70%;
 height: 100vh;
 background-color: var(--color-tertiary);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 padding-top: 60px;
 transition: right 0.4s ease-in-out;
 box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
 }

 .nav-links.active {
 right: 0;
 }

 .nav-links li {
 margin: 15px 0;
 opacity: 0;
 transform: translateX(50px);
 animation: none; /* Reset animation for mobile */
 }

 .nav-links.active li {
 opacity: 1;
 transform: translateX(0);
 transition: opacity 0.5s ease-out, transform 0.5s ease-out;
 }
 .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
 .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
 .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
 .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
 .nav-links.active li:nth-child(5) { transition-delay: 0.5s; }
 .nav-links.active li:nth-child(6) { transition-delay: 0.6s; }
 .nav-links.active li:nth-child(7) { transition-delay: 0.7s; }
 .nav-links.active li:nth-child(8) { transition-delay: 0.8s; }

 .nav-links li a {
 font-size: 1.4rem;
 padding: 10px 0;
 }

 .nav-toggle {
 display: block;
 }

 .section {
 padding: 60px 0;
 }

 .hero-section {
 min-height: 80vh;
 padding-top: 60px;
 }

 .hero-title {
 font-size: clamp(2rem, 6vw, 3.5rem);
 }

 .hero-subtitle {
 font-size: clamp(1rem, 2.5vw, 1.4rem);
 }

 .intro-grid p {
 flex: 1 1 100%;
 max-width: 100%;
 padding: 25px;
 }

 .features-grid {
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 }

 .testimonial-carousel {
 flex-direction: column;
 align-items: center;
 }
 .testimonial-card {
 max-width: 90%;
 flex: 1 1 100%;
 }

 .blog-grid-full {
 grid-template-columns: 1fr;
 }

 .newsletter-form {
 flex-direction: column;
 align-items: center;
 gap: 20px;
 }

 .newsletter-form input[type="email"],
 .newsletter-form .btn-primary {
 width: 80%;
 max-width: 400px;
 }

 /* Footer */
 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }

 .footer-col h3::after, .footer-col h4::after {
 left: 50%;
 transform: translateX(-50%);
 }

 .social-icons {
 justify-content: center;
 }

 /* Contact Page */
 .contact-grid {
 grid-template-columns: 1fr;
 gap: 30px;
 }

 .service-card-lg {
 flex-direction: column !important; /* Override even/odd for mobile */
 }
 .service-card-lg img {
 width: 100%;
 height: 250px;
 border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
 }
}

/* Mobile (480px and below) */
@media screen and (max-width: 480px) {
 .container {
 padding: 0 15px;
 }

 .logo {
 font-size: 1.5rem;
 }

 .nav-links {
 width: 100%; /* Full width mobile menu */
 }

 .hero-title {
 font-size: 2.2rem;
 }
 .hero-subtitle {
 font-size: 1rem;
 }

 .btn {
 padding: 10px 20px;
 font-size: 0.9rem;
 }

 .section-title {
 font-size: 2rem;
 }
 .section-description {
 font-size: 1em;
 }

 .newsletter-form input[type="email"],
 .newsletter-form .btn-primary {
 width: 100%;
 }

 .blog-post-content {
 font-size: 1rem;
 }
 .blog-post-header {
 padding: var(--header-height) 0 30px 0;
 }
 .blog-post-header h1 {
 font-size: 2rem;
 }

 .author-box {
 flex-direction: column;
 text-align: center;
 }
 .author-box img {
 margin-bottom: 15px;
 }

 .thanks-section h1 {
 font-size: 2rem;
 }
 .thanks-section p {
 font-size: 1rem;
 }

 .error-section h1 {
 font-size: 6rem;
 }
 .error-section h2 {
 font-size: 1.8rem;
 }
 .error-section p {
 font-size: 1rem;
 }
}