/* 
===========================================
GLOBAL STYLES & RESET
===========================================
*/

/* Universal reset with padding and margin 0, plus global box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root font-size for easy rem calculations (1rem = 10px) */
html {
    font-size: 62.5%; /* 10px */
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem; /* 16px */
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

.container {
    max-width: 120rem; /* 1200px */
    margin: 0 auto;
    padding: 0 2rem; /* 20px */
}


/* 
===========================================
TYPOGRAPHY STYLES
===========================================
*/

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1.5rem 0;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 4.8rem; } 
h2 { font-size: 3.6rem; } 
h3 { font-size: 2.4rem; } 
h4 { font-size: 2rem; }   
h5 { font-size: 1.8rem; } 
h6 { font-size: 1.6rem; } 

/* Paragraph and text elements */
p {
    margin: 0 0 1.6rem 0;
    font-size: 1.6rem;
}

/* Link styles with transitions */
a {
    color: #4f46e5;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: #3730a3;
    transform: translateY(-0.1rem);
}

/* List styles */
ul, ol {
    margin: 0 0 1.6rem 0;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* 
===========================================
HEADER & NAVIGATION
===========================================
*/

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
    border-bottom: 2px solid #4f46e5;
    padding: 0;
}

.navbar {
    padding: 1rem 0;
}

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

.logo img {
    height: 4rem; 
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Navigation menu using flexbox */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3rem; 
}

.nav-link {
    font-size: 1.6rem;
    font-weight: 500;
    color: #374151;
    padding: 0.8rem 1.6rem;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4f46e5;
    background-color: #f3f4f6;
    transform: translateY(-0.2rem);
}

/* Mobile hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
}

.hamburger span {
    width: 2.5rem;
    height: 0.3rem;
    background-color: #374151;
    transition: all 0.3s ease;
    border-radius: 0.2rem;
}

/* 
===========================================
HERO SECTION WITH ANIMATIONS
===========================================
*/

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
}

/* CSS Animation for hero content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(3rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(5rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 6rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 5.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    padding-top: 2rem;
    line-height: 1.1;
}

.highlight {
    color: #fbbf24;
}

.hero-tagline {
    font-size: 2rem;
    color: #e5e7eb;
    margin-bottom: 3rem;
    line-height: 1.5;
}

/* Call-to-Action Button with advanced effects */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #10b981, #059669);
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    padding: 1.5rem 3rem;
    border-radius: 0.8rem;
    margin: 2rem 0;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.cta-button:hover {
    transform: translateY(-0.3rem) scale(1.05);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    background: linear-gradient(45deg, #059669, #047857);
}

.cta-button:active {
    transform: translateY(-0.1rem) scale(1.02);
}

/* Hero media elements */
.hero-media {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.hero-media video {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-figure {
    animation: slideInRight 1s ease-out 0.3s both;
    text-align: center;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: rotate(2deg) scale(1.02); 
}

figcaption {
    margin-top: 1rem;
    font-style: italic;
    color: #d1d5db;
    font-size: 1.4rem;
}

/* 
===========================================
FEATURES SECTION - FLEXBOX LAYOUT
===========================================
*/

.features-section {
    padding: 10rem 0;
    background-color: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title {
    font-size: 3.6rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.8rem;
    color: #6b7280;
    max-width: 60rem;
    margin: 0 auto;
}

/* Flexbox layout for features */
.features-grid {
    display: flex;
    gap: 3rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    min-width: 30rem; 
    background: #ffffff;
    margin: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 1.2rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-1rem); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #4f46e5;
}

.feature-icon {
    font-size: 4rem;
    color: #4f46e5;
    margin-bottom: 2rem;
  
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-card h3 {
    font-size: 2.2rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
}


.progress-container, .meter-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

progress, meter {
    width: 100%;
    height: 1rem;
    border-radius: 0.5rem;
    border: none;
    background-color: #e5e7eb;
}

progress::-webkit-progress-bar {
    background-color: #e5e7eb;
    border-radius: 0.5rem;
}

progress::-webkit-progress-value {
    background: linear-gradient(to right, #10b981, #059669);
    border-radius: 0.5rem;
}

.progress-text, .meter-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #059669;
    text-align: right;
}


.feature-details {
    text-align: left;
    margin-top: 2rem;
}

.feature-details summary {
    cursor: pointer;
    font-weight: 600;
    color: #4f46e5;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.feature-details summary:hover {
    background: #e5e7eb;
}

.feature-details ul {
    margin-top: 1rem;
    padding-left: 2rem;
}

.feature-details li {
    color: #6b7280;
    margin-bottom: 0.5rem;
}


abbr {
    text-decoration: underline dotted;
    cursor: help;
}

/* 
===========================================
SERVICES SECTION - CSS GRID LAYOUT
===========================================
*/

.services-section {
    padding: 10rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: #ffffff;
}

.services-section .section-title {
    color: #ffffff;
}

.services-section .section-subtitle {
    color: #d1d5db;
}

/* CSS Grid layout for services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr)); 
    gap: 3rem;
    margin-top: 5rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-item:hover {
    transform: translateY(-0.5rem) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-item img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover img {
    transform: scale(1.1);
}

.service-content {
    padding: 2.5rem;
}

.service-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.service-content p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Cite and Blockquote styling */
cite {
    font-style: italic;
    font-size: 1.4rem;
    color: #9ca3af;
}

blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #4f46e5;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
}

/* 
===========================================
GALLERY SECTION WITH TABLE AND MEDIA
===========================================
*/

.gallery-section {
    padding: 10rem 0;
    background-color: #ffffff;
}

.pricing-table-container {
    margin-bottom: 5rem;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;

    margin: 2rem 0;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pricing-table th,
.pricing-table td {

    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.pricing-table th {
    background: linear-gradient(135deg, #4f46e5, #3730a3);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.6rem;
}

.pricing-table tbody tr:hover {
    background-color: #f9fafb;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

.pricing-table td {
    font-size: 1.5rem;
    color: #374151;
}

/* Audio section styling */
.audio-section {
    margin: 4rem 0;
    padding: 3rem;
    background: #f3f4f6;
    border-radius: 1rem;
    text-align: center;
}

.audio-section h4 {
    margin-bottom: 2rem;
    color: #1f2937;
}

audio {
    width: 100%;
    max-width: 50rem;
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Map/Iframe container */
.map-container {
    margin: 4rem 0;
    text-align: center;
}

.map-container h4 {
    margin-bottom: 2rem;
    color: #1f2937;
}

.map-container iframe {
    border-radius: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
}

/* 
===========================================
CONTACT FORM SECTION
===========================================
*/

.contact-section {
    padding: 10rem 0;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr; 
    gap: 5rem;
    margin-top: 5rem;
}


.contact-form {
    background: #ffffff;
    padding: 4rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


fieldset {
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 3rem;
    transition: border-color 0.3s ease;
}

fieldset:focus-within {
    border-color: #4f46e5;
}

legend {
    font-weight: 600;
    font-size: 1.8rem;
    color: #1f2937;
    padding: 0 1rem;
    background: #ffffff;
}

/* Form layout using flexbox and grid */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-field {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

/* Label styling */
label {
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: #374151;
    font-size: 1.5rem;
}

/* Input field styling with transitions */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="file"],
select,
textarea {
    /* Box model demonstration */
    padding: 1.2rem 1.5rem;
    border: 2px solid #d1d5db;
    border-radius: 0.8rem;
    font-size: 1.5rem;
    font-family: inherit;
    background-color: #ffffff;
    transition: all 0.3s ease;
    /* Using em units for consistent sizing */
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    transform: translateY(-0.1rem);
}

/* Range input styling */
input[type="range"] {
    width: 100%;
    margin: 1rem 0;
    background: transparent;
    cursor: pointer;
}

output {
    font-weight: 600;
    color: #4f46e5;
    font-size: 1.8rem;
    margin-left: 1rem;
}

/* Checkbox and Radio button styling */
.checkbox-group,
.radio-group {
    margin: 2rem 0;
}

.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    margin-right: 1rem;
    transform: scale(1.2);
    cursor: pointer;
}

/* Button styling with hover effects */
.form-actions {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    margin-top: 3rem;
}

.btn-primary,
.btn-secondary {
    /* Box model for buttons */
    padding: 1.5rem 3rem;
    border: 2px solid transparent;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #3730a3);
    color: #ffffff;
    border-color: #4f46e5;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3730a3, #312e81);
    transform: translateY(-0.2rem) scale(1.02);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #6b7280;
    border-color: #d1d5db;
}

.btn-secondary:hover {
    background: #f9fafb;
    color: #374151;
    border-color: #9ca3af;
    transform: translateY(-0.1rem);
}

/* Contact Information Sidebar */
.contact-info {
    background: #ffffff;
    padding: 3rem;
    border-radius: 1.5rem;
    height: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    color: #1f2937;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

/* Address styling */
address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 3rem;
}

address p {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #6b7280;
}

address i {
    color: #4f46e5;
    width: 2rem;
    margin-top: 0.2rem;
}

/* Business hours with description list */
.business-hours {
    margin-top: 3rem;
}

.business-hours h4 {
    margin-bottom: 1.5rem;
    color: #1f2937;
}

dl {
    margin: 0;
}

dt {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

dd {
    color: #6b7280;
    margin: 0 0 1rem 0;
}

/* 
===========================================
FOOTER SECTION
===========================================
*/

.main-footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #9ca3af;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    /* Using em units for icon sizing */
    width: 4rem;
    height: 4rem;
    background: #374151;
    color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #4f46e5;
    color: #ffffff;
    transform: translateY(-0.3rem) rotate(5deg); /* Multiple transforms */
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 1.4rem;
    color: #9ca3af;
}

.footer-bottom a {
    color: #d1d5db;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* 
===========================================
RESPONSIVE DESIGN - MEDIA QUERIES
===========================================
*/

/* Tablet breakpoint */
@media (max-width: 768px) {
    /* Typography adjustments */
    
    
    h1 { font-size: 3.6rem; }
    h2 { font-size: 2.8rem; }
    
    /* Navigation adjustments */
    .nav-menu {
        display: none; /* Hide on mobile - would need JS for toggle */
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hero section adjustments */
    .hero-container {
        grid-template-columns: 1fr; 
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    /* Features section adjustments */
    .features-grid {
        flex-direction: column;
    }
    
    .feature-card {
        min-width: auto;
        margin: 0.5rem 0;
    }
    
    /* Services grid adjustments */
    .services-grid {
        grid-template-columns: 1fr; 
    }
    
    /* Contact form adjustments */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 3rem 2rem;
    }
    
    /* Footer adjustments */
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
        gap: 3rem;
    }
}

/* Mobile breakpoint */
@media (max-width: 480px) {

   
    
    .container {
        padding: 0 1.5rem; 

    .hero-section {
        padding-top: 6rem;
        min-height: 90vh; 
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-tagline {
        font-size: 1.6rem;
    }
    

    .cta-button {
        padding: 1.2rem 2.4rem;
        font-size: 1.6rem;
        width: 100%; 
        text-align: center;
    }
    
    
    .features-section,
    .services-section,
    .gallery-section,
    .contact-section {
        padding: 6rem 0; 
    }
    
    fieldset {
        padding: 2rem 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .pricing-table {
        font-size: 1.3rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 1rem;
    }
    
    .social-icons {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-link {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.6rem;
    }
}

/* 
===========================================
UTILITY CLASSES AND ANIMATIONS
===========================================
*/

/* Utility class for text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Utility classes for display */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }


/* Additional animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

/* Hover animation classes */
.animate-pulse:hover {
    animation: pulse 2s infinite;
}

.animate-bounce:hover {
    animation: bounce 1s ease-in-out;
}

/* 
===========================================
ACCESSIBILITY IMPROVEMENTS
===========================================
*/

/* Focus styles for better accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #4f46e5;
    outline-offset: 2px; 
}


