/* Font Families */
:root {
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Montserrat', 'Inter', Arial, sans-serif;
    --font-accent: 'Pacifico', cursive;
}

/* GLOBAL ZOOM & VIEWPORT FIXES */
html {
    width: 100%;
    min-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: #222;
    width: 100%;
    min-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Prevent horizontal scroll and ensure full width coverage */
.w-full {
    width: 100% !important;
    min-width: 100% !important;
}

/* Container fixes for zoom levels */
.container, .max-w-5xl, .max-w-6xl {
    width: 100% !important;
    min-width: 100% !important;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Section width fixes */
section {
    width: 100% !important;
    min-width: 100% !important;
    margin: 0;
    box-sizing: border-box;
}

/* Header full width fix */
header {
    width: 100% !important;
    min-width: 100% !important;
    left: 0;
    right: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Footer full width fix */
footer {
    width: 100% !important;
    min-width: 100% !important;
    margin: 0;
    box-sizing: border-box;
}

/* Hero section specific fixes */
.hero-section {
    width: 100vw !important;
    min-width: 100vw !important;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
}

/* Gallery carousel fix */
#rolling-carousel {
    width: max-content;
    min-width: 100%;
}

.overflow-hidden {
    width: 100% !important;
    overflow-x: hidden !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.header nav a {
    font-family: var(--font-serif);
    font-weight: 500;
}

.hero-section p, .section p, .footer p {
    font-family: var(--font-body);
    font-size: 1.1rem;
}

/* Accent font for special elements */
.cta, .btn-accent {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    letter-spacing: 1px;
}

/* ...existing code... */
.navbar-hide {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}
header {
    transition: transform 0.3s ease;
    background-color: white;
}

/* ZOOM OUT PREVENTION - Additional CSS for ultra-wide screens */
@media screen and (min-width: 1920px) {
    body {
        zoom: 1 !important;
        transform: scale(1) !important;
    }
    
    .container, .max-w-5xl, .max-w-6xl {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    section {
        width: 100% !important;
        min-width: 100% !important;
    }
    
    /* Hero background should always cover full screen */
    section[style*="background"] {
        background-size: cover !important;
        background-position: center !important;
        width: 100vw !important;
        min-width: 100vw !important;
    }
}

/* Prevent zoom-out white space on any screen size */
@media screen and (min-width: 1600px) {
    .hero-section,
    section {
        width: 100% !important;
        min-width: 100% !important;
    }
    
    header, footer {
        width: 100% !important;
        min-width: 100% !important;
    }
    
    /* Force full viewport width */
    html, body {
        width: 100% !important;
        min-width: 100% !important;
        overflow-x: hidden !important;
    }
}

/* Hero Section Animations */
@keyframes fade-in-down {
    0% { opacity: 0; transform: translateY(-40px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-down {
    animation: fade-in-down 1s cubic-bezier(.4,0,.2,1) both;
}
.animate-fade-in-up {
    animation: fade-in-up 1.2s cubic-bezier(.4,0,.2,1) both;
}

/* ========================================
   ENHANCED ANIMATIONS
   ======================================== */

/* Floating Animation */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

.floating-element {
    animation: float 3s ease-in-out infinite;
}

/* Slide In Animation for Mobile Menu */
@keyframes slide-in {
    0% { 
        opacity: 0; 
        transform: translateX(-20px); 
    }
    100% { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

.animate-slide-in {
    animation: slide-in 0.5s ease-out forwards;
}

/* Pulse Animation */
@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5); 
    }
    50% { 
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(59, 130, 246, 0.4); 
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Bounce Animation */
@keyframes bounce-in {
    0% { 
        opacity: 0; 
        transform: scale(0.3) translateY(-50px); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.05) translateY(0); 
    }
    70% { 
        transform: scale(0.95); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1); 
    }
}

.animate-bounce-in {
    animation: bounce-in 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.animate-shake {
    animation: shake 0.8s ease-in-out;
}

/* Rotate In Animation */
@keyframes rotate-in {
    0% { 
        opacity: 0; 
        transform: rotate(-180deg) scale(0.5); 
    }
    100% { 
        opacity: 1; 
        transform: rotate(0deg) scale(1); 
    }
}

.animate-rotate-in {
    animation: rotate-in 0.8s ease-out;
}

/* Zoom In Animation */
@keyframes zoom-in {
    0% { 
        opacity: 0; 
        transform: scale(0.5); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1); 
    }
}

.animate-zoom-in {
    animation: zoom-in 0.6s ease-out;
}

/* Slide Up Animation */
@keyframes slide-up {
    0% { 
        opacity: 0; 
        transform: translateY(100px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.animate-slide-up {
    animation: slide-up 0.8s ease-out;
}

/* Flip Animation */
@keyframes flip-in {
    0% { 
        opacity: 0; 
        transform: rotateY(-90deg); 
    }
    100% { 
        opacity: 1; 
        transform: rotateY(0deg); 
    }
}

.animate-flip-in {
    animation: flip-in 0.8s ease-out;
}

/* Gradient Animation */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient {
    background: linear-gradient(-45deg, #f8fafc, #e2e8f0, #cbd5e1, #94a3b8);
    background-size: 400% 400%;
    animation: gradient-shift 6s ease infinite;
}

/* Typing Effect */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: #1f2937; }
}

.typewriter {
    overflow: hidden;
    border-right: 2px solid #1f2937;
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink 0.75s step-end infinite;
}

/* Hover Effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Blog Specific Styles */
.blog-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-category {
    position: relative;
    overflow: hidden;
}

.blog-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.blog-category:hover::before {
    left: 100%;
}

.blog-read-more {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.blog-read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1f2937;
    transition: width 0.3s ease;
}

.blog-read-more:hover::after {
    width: 100%;
}

/* Newsletter Section Enhancements */
.newsletter-input {
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.1);
    border-color: #6b7280;
}

.newsletter-button {
    position: relative;
    overflow: hidden;
}

.newsletter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.newsletter-button:hover::before {
    left: 100%;
}

/* Blog Categories Animation */
.category-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Blog Post Meta Styles */
.blog-meta {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* Responsive Blog Grid */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1025px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

/* Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::before {
    width: 300px;
    height: 300px;
}

/* Loading Spinner */
@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spin-slow 3s linear infinite;
}

/* Parallax Elements */
.parallax-element {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Enhanced Gallery Transitions */
.gallery-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.gallery-item:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Text Reveal Animation */
@keyframes text-reveal {
    0% { 
        opacity: 0;
        transform: translateY(20px);
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}

.animate-text-reveal {
    animation: text-reveal 1s ease-out forwards;
}

/* Stagger Animation */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(20px);
    animation: slide-up 0.8s ease-out forwards;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { animation-delay: 0.6s; }

/* Smooth Transitions for Interactive Elements (Simplified) */
button, .btn, a[class*="bg-"], .gallery-item {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1f2937, #374151);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #111827, #1f2937);
}

/* Performance Optimizations */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ========================================
   FOOTER SOCIAL MEDIA ALIGNMENT OVERRIDE
   ======================================== */
/* Circular Social Media Icons with Extreme Corner Layout */
.social-icon-circular {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9999px !important; /* Perfect circle */
    aspect-ratio: 1 / 1 !important; /* Force perfect circle shape */
    min-width: 120px !important;
    height: 48px !important;
    padding: 12px 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.social-icon-circular:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Symmetrical layout container */
footer .flex.justify-between {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    gap: 0 !important;
}

/* Individual icon positioning */
footer .social-icon-circular:first-child {
    /* Instagram - Left extreme corner */
    margin-right: auto !important;
}

footer .social-icon-circular:nth-child(2) {
    /* LinkedIn - Perfect center */
    margin-left: auto !important;
    margin-right: auto !important;
}

footer .social-icon-circular:last-child {
    /* WhatsApp - Right extreme corner */
    margin-left: auto !important;
}

/* Icon and text styling */
footer .social-icon-circular svg {
    width: 20px !important;
    height: 20px !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 767px) {
    .social-icon-circular {
        min-width: 100px !important;
        height: 40px !important;
        padding: 8px 12px !important;
        font-size: 0.875rem !important;
    }
    
    footer .flex.justify-between {
        max-width: 320px !important;
    }
    
    footer .social-icon-circular svg {
        width: 18px !important;
        height: 18px !important;
        margin-right: 6px !important;
    }
    
    /* Hide text on very small screens, show only icons */
    .social-icon-circular span {
        display: none !important;
    }
}

/* Tablet adjustments */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    footer .flex.justify-between {
        max-width: 450px !important;
    }
    
    .social-icon-circular {
        min-width: 130px !important;
        height: 50px !important;
    }
}

/* Desktop enhancements */
@media screen and (min-width: 1025px) {
    footer .flex.justify-between {
        max-width: 500px !important;
    }
    
    .social-icon-circular {
        min-width: 140px !important;
        height: 52px !important;
    }
    
    .social-icon-circular:hover {
        transform: translateY(-4px) scale(1.08) !important;
    }
}

/* ========================================
   MOBILE RESPONSIVE DESIGN
   ======================================== */

/* Mobile First - Base styles for mobile devices */
@media screen and (max-width: 767px) {
    /* Typography adjustments for mobile */
    body {
        font-size: 14px;
        line-height: 1.6;
        overflow-x: hidden;
    }
    
    h1 {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 1.75rem !important;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    h3 {
        font-size: 1.25rem !important;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    /* Header adjustments */
    header {
        padding: 0.75rem 1rem !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 50 !important;
    }
    
    header .container {
        padding: 0.75rem !important;
    }
    
    header img {
        height: 3rem !important;
        max-height: 3rem !important;
    }
    
    /* Navigation adjustments */
    nav a {
        font-size: 1rem !important;
        padding: 0.75rem !important;
    }
    
    /* Mobile menu improvements */
    #menu {
        padding: 1rem !important;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }
    
    #menu a {
        padding: 0.75rem 0 !important;
        font-size: 1.1rem;
        border-bottom: 1px solid #e5e7eb;
        width: 100%;
        text-align: center;
    }
    
    /* Hero section mobile */
    .hero-section, 
    section[class*="mt-"] {
        margin-top: 7rem !important;
        min-height: 100vh !important;
        padding: 2rem 1rem !important;
    }
    
    /* Content sections */
    section {
        padding: 2rem 1rem !important;
    }
    
    /* Grid layouts for mobile */
    .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Card spacing and styling */
    .grid > div {
        margin-bottom: 1.5rem;
        padding: 1.5rem !important;
    }
    
    /* Service cards mobile optimization */
    .shadow-2xl {
        padding: 1.5rem !important;
        margin-bottom: 2rem;
    }
    
    /* Images responsive */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Gallery carousel mobile */
    #rolling-carousel img {
        width: 16rem !important;
        height: 12rem !important;
        margin-right: 0.5rem;
    }
    
    /* Button adjustments */
    .btn, 
    button, 
    a[class*="bg-"],
    a[class*="px-"] {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
        margin: 0.5rem auto !important;
        display: inline-block;
        text-align: center;
        width: auto;
        min-width: 120px;
    }
    
    /* Footer adjustments */
    footer {
        padding: 2rem 1rem !important;
        text-align: center;
    }
    
    footer .flex {
        flex-direction: column !important;
        gap: 1rem;
    }
    
    footer img {
        height: 3rem !important;
        margin-bottom: 1rem;
    }
    
    /* Social media links mobile */
    footer .space-x-6,
    footer .md\\:space-x-6 {
        display: flex !important;
        flex-direction: row !important;
        gap: 1rem !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    footer a {
        padding: 0.5rem !important;
        justify-content: center;
        width: auto;
        margin: 0.25rem 0;
    }
    
    /* Max width containers */
    .max-w-5xl, 
    .max-w-6xl {
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 1rem;
    }
    
    /* Text alignment */
    .text-center {
        text-align: center !important;
    }
    
    /* Spacing adjustments */
    .mb-4 { margin-bottom: 1rem !important; }
    .mb-6 { margin-bottom: 1.5rem !important; }
    .mt-4 { margin-top: 1rem !important; }
    .mt-6 { margin-top: 1.5rem !important; }
    
    /* Padding adjustments */
    .px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
    .py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    
    /* WhatsApp floating button */
    #whatsapp-float {
        right: 1rem !important;
        bottom: 1rem !important;
    }
    
    #whatsapp-float img {
        width: 50px !important;
        height: 50px !important;
    }
    
    /* Form elements if any */
    input, textarea, select {
        width: 100% !important;
        padding: 0.75rem !important;
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Ensure no horizontal overflow */
    * {
        box-sizing: border-box;
    }
    
    .overflow-hidden {
        overflow-x: hidden !important;
    }
    
    /* Footer adjustments for mobile */
    footer {
        padding: 2rem 1rem !important;
        text-align: center;
    }
    
    footer .flex {
        flex-direction: column !important;
        gap: 1rem;
    }
    
    footer img {
        height: 3rem !important;
        margin-bottom: 1rem;
    }
    
    /* Social media links */
    footer .space-x-6 {
        flex-direction: row !important;
        gap: 1rem !important;
        align-items: center;
    }
    
    footer a {
        padding: 0.5rem !important;
        justify-content: center;
    }
    
    /* Max width containers */
    .max-w-5xl, .max-w-6xl {
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 1rem;
    }
    
    /* Text alignment */
    .text-center {
        text-align: center !important;
    }
    
    /* Spacing adjustments */
    .mb-4 { margin-bottom: 1rem !important; }
    .mb-6 { margin-bottom: 1.5rem !important; }
    .mt-4 { margin-top: 1rem !important; }
    .mt-6 { margin-top: 1.5rem !important; }
    
    /* Form elements if any */
    input, textarea, select {
        width: 100% !important;
        padding: 0.75rem !important;
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
}

/* Tablet responsive design */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    /* Typography for tablets */
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    /* Header for tablets */
    header img {
        height: 4rem !important;
    }
    
    /* Hero section for tablets */
    .hero-section, section[class*="pt-"] {
        padding-top: 10rem !important;
        padding-bottom: 4rem !important;
    }
    
    /* Grid layouts for tablets */
    .grid.md\\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .grid.md\\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
    
    .grid.md\\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
    
    /* Content sections for tablets */
    section {
        padding: 3rem 2rem !important;
    }
    
    /* Max width containers for tablets */
    .max-w-5xl, .max-w-6xl {
        max-width: 90% !important;
        padding: 0 2rem;
    }
    
    /* Team member images for tablets */
    .w-32.h-32 {
        width: 7rem !important;
        height: 7rem !important;
    }
}

/* Small mobile devices (max-width: 480px) */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.75rem !important;
        line-height: 1.2;
        padding: 0 0.5rem;
    }
    
    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3;
        padding: 0 0.5rem;
    }
    
    h3 {
        font-size: 1.1rem !important;
        line-height: 1.4;
    }
    
    header img {
        height: 2.5rem !important;
    }
    
    /* Hero section for very small screens */
    .hero-section, 
    section[class*="mt-"] {
        margin-top: 6rem !important;
        padding: 1.5rem 0.75rem !important;
        min-height: 90vh !important;
    }
    
    section {
        padding: 1.5rem 0.75rem !important;
    }
    
    /* Service cards for small screens */
    .shadow-2xl {
        padding: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Gallery carousel small mobile */
    #rolling-carousel img {
        width: 14rem !important;
        height: 10rem !important;
    }
    
    /* Buttons for small screens */
    .btn, 
    button, 
    a[class*="bg-"],
    a[class*="px-"] {
        padding: 0.625rem 1.25rem !important;
        font-size: 0.9rem !important;
        min-width: 100px;
    }
    
    /* Footer for small screens */
    footer {
        padding: 1.5rem 0.75rem !important;
    }
    
    footer img {
        height: 2.5rem !important;
    }
    
    footer a {
        font-size: 0.9rem !important;
    }
    
    /* WhatsApp button for small screens */
    #whatsapp-float img {
        width: 45px !important;
        height: 45px !important;
    }
    
    /* Text sizing for small screens */
    p {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }
    
    /* Ensure readability */
    .text-sm {
        font-size: 0.8rem !important;
    }
    
    .text-base {
        font-size: 0.9rem !important;
    }
}

/* Landscape mobile orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero-section, section[class*="pt-"] {
        padding-top: 6rem !important;
        padding-bottom: 2rem !important;
    }
    
    header {
        padding: 0.5rem 1rem !important;
    }
    
    header img {
        height: 2.5rem !important;
    }
}