/* ============================================
   RESET AND BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a5f7a;
    --secondary: #57a6b8;
    --accent: #ff7a8a;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--primary);
    color: white;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-accent {
    background-color: var(--accent);
}

.btn-accent:hover {
    background-color: #ff5c70;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 3px;
    background-color: var(--accent);
}

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

p {
    margin-bottom: 1.2rem;
    color: var(--gray);
}

.section-title {
    margin-bottom: 50px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
    border-radius: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    letter-spacing: 0.5px;
}

.company-tagline {
    font-size: 0.9rem;
    color: var(--secondary);
    margin: 3px 0 0 0;
    font-weight: 500;
    letter-spacing: 0.3px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    max-height: 900px;
    overflow: hidden;
    padding: 0;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, transform 1.2s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    transform: translateX(30px);
}

.carousel-slide[data-slide="1"] {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets\img\slide-1.avif');
}

.carousel-slide[data-slide="2"] {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?ixlib=rb-4.0.3&auto=format&fit=crop&w=1472&q=80');
}

.carousel-slide[data-slide="3"] {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?ixlib=rb-4.0.3&auto=format&fit=crop&w=1468&q=80');
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 1;
}

.carousel-slide.prev {
    transform: translateX(-30px);
    z-index: 0;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.2) 0%, rgba(87, 166, 184, 0.15) 100%);
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.carousel-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--accent);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 122, 138, 0.5);
}

.carousel-autoplay {
    position: absolute;
    bottom: 40px;
    right: 30px;
    z-index: 10;
}

.autoplay-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.autoplay-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 25px 15px;
    border-radius: 8px;
    background-color: var(--light);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ============================================
   MISSION & VISION SECTION
   ============================================ */

.mission-vision {
    background-color: var(--light);
}

.mv-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mv-item {
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.mv-item:hover {
    transform: translateY(-10px);
}

.mv-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    background-color: var(--light);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    width: 500px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.map-container {
    height: 300px;
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--light-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gray);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: linear-gradient(135deg, #1a2530 0%, #2C3E50 100%);
    color: #ecf0f1;
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #FF6B35, #FF8E53, #FF6B35);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: #FF6B35;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-column:first-child h3::after {
    left: 0;
    width: 70px;
}

.footer-column p {
    color: #bdc3c7;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-column a {
    color: #bdc3c7;
    margin-bottom: 12px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer-column a:hover {
    color: #FF6B35;
    transform: translateX(5px);
}

.footer-column a::before {
    content: '›';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #FF6B35;
}

.footer-column a:hover::before {
    opacity: 1;
    left: -10px;
}

/* Contact Info Styling */
.footer-column .contact-info {
    margin-top: 5px;
}

.address-section {
    display: flex;
}

.address-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    margin-top: 4px;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.address-icon i {
    color: #FF6B35;
    font-size: 18px;
}

.address-details {
    flex: 1;
}

.address-line {
    display: flex;
    flex-wrap: wrap;
}

.address-label {
    color: #95a5a6;
    font-weight: 500;
    min-width: 140px;
    font-size: 0.85rem;
    text-transform: capitalize;
}

.address-value {
    color: white;
    font-weight: 400;
    flex: 1;
    font-size: 0.9rem;
    min-width: 150px;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    margin-top: 4px;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-icon i {
    color: #FF6B35;
    font-size: 18px;
}

.contact-text {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
}

.contact-label {
    color: #95a5a6;
    font-weight: 500;
    min-width: 100px;
    font-size: 0.85rem;
    text-transform: capitalize;
}

.contact-value {
    color: white;
    font-weight: 400;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value:hover {
    color: #FF6B35;
}

/* Copyright Section */
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
    font-size: 0.9rem;
    margin-top: 20px;
}

.copyright p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.footer-legal a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #FF6B35;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

.page-content {
    padding-top: 120px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet Styles (992px and below) */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content,
    .mv-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .features,
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .footer-column h3 {
        font-size: 1.3rem;
    }
    
    .address-label {
        min-width: 120px;
    }
    
    .contact-label {
        min-width: 90px;
    }
}

/* Mobile Styles (768px and below) */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .header-container {
        padding: 15px;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0 0 20px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
    
    .company-tagline {
        font-size: 0.8rem;
    }
    
    .hero {
        padding-bottom: 40px;
    }
    .carousel-control{
        display: none;
    }
    
    .hero-btns {
        flex-direction: row;
        font-size: 0.9rem;
        gap: 10px;
    }
    
    .hero-btns a{
        padding: 12px 20px;
        font-size: 0.9rem;
     
    }
    .services-grid,
    .features,
    .gallery-container,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        width: 100%;
    }
    
    .mv-item,
    .service-content {
        padding: 25px;
    }
    
    footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-column:first-child h3::after {
        left: 15%;
        width: 70px;
    }
    
    .footer-column h3::after {
        left: 15%;
        transform: translateX(-50%);
    }
    
    .footer-column a:hover {
        transform: translateX(0);
        padding-left: 0;
    }
    
    .footer-column a::before {
        display: none;
    }
    
    .address-icon {
        margin-right: 5px;
    }
    
    .address-line {
        margin-bottom: 8px;
    }
    
    .address-label {
        min-width: 100%;
        margin-bottom: 2px;
        font-size: 0.85rem;
    }
    
    .address-value {
        font-size: 0.9rem;
        margin-left: 0;
        min-width: 100%;
    }
    
    .contact-icon {
        margin-right: 5px;
    }
    
    .contact-label {
        min-width: 100%;
        margin-bottom: 2px;
        font-size: 0.85rem;
    }
    
    .contact-value {
        font-size: 0.9rem;
        margin-left: 0;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-legal a {
        display: block;
    }
}

/* Small Mobile Styles (576px and below) */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .footer-column {
        padding: 0;
        align-items: start;
    }
    
    .address-label,
    .contact-label {
        font-size: 0.82rem;
    }
    
    .address-details {
        align-items: start;
    }
    
    .address-value,
    .contact-value {
        font-size: 0.87rem;
    }
    
    .copyright p {
        font-size: 0.85rem;
    }
}