/* Main CSS File */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0D6E6E;
    --secondary-color: #19A7A7;
    --accent-color: #51D6D6;
    --dark-color: #033939;
    --light-color: #E0F7F7;
    --white: #ffffff;
    --black: #333333;
    --gray: #f8f8f8;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    
    /* Light mode colors (default) */
    --bg-color: #ffffff;
    --text-color: #333333;
    --bg-secondary: #f8f8f8;
    --card-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.95);
    --border-color: rgba(13, 110, 110, 0.12);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --button-text: #ffffff;
    --button-bg-hover: #ffffff;
}

[data-theme="dark"] {
    /* Dark mode colors */
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --bg-secondary: #2d2d2d;
    --card-bg: #252525;
    --header-bg: rgba(26, 26, 26, 0.95);
    --border-color: rgba(81, 214, 214, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --black: #e0e0e0;
    --gray: #2d2d2d;
    --white: #1a1a1a;
    --button-text: #ffffff;
    --button-bg-hover: #ffffff;
    --light-color: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}
.logo img{
    width: 10vw;
    height: 7vh;
}
ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.underline {
    height: 3px;
    width: 70px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--button-text);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--button-text);
    color: var(--button-text);
}

.btn-secondary:hover {
    background-color: var(--button-bg-hover);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 15px 0;
    background-color: var(--header-bg);
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Dark Mode Toggle Switch */
.dark-mode-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin-left: 20px;
    cursor: pointer;
}

.dark-mode-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.dark-mode-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 30px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dark-mode-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-slider:before::after {
    content: "☾";
    font-size: 14px;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dark-mode-toggle input:checked + .dark-mode-slider {
    background-color: var(--primary-color);
}

.dark-mode-toggle input:checked + .dark-mode-slider:before {
    transform: translateX(30px);
}

.dark-mode-toggle input:checked + .dark-mode-slider:before::after {
    content: "☀";
}

.dark-mode-toggle:hover .dark-mode-slider {
    box-shadow: 0 0 8px rgba(13, 110, 110, 0.4);
}

/* Icon inside toggle */
.dark-mode-slider .toggle-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.dark-mode-slider .toggle-icon.moon-icon {
    left: 8px;
    color: var(--primary-color);
}

.dark-mode-slider .toggle-icon.sun-icon {
    right: 8px;
    color: #ffa500;
    opacity: 0;
}

.dark-mode-toggle input:checked + .dark-mode-slider .moon-icon {
    opacity: 0;
}

.dark-mode-toggle input:checked + .dark-mode-slider .sun-icon {
    opacity: 1;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav {
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(45deg, rgba(13, 110, 110, 0.9), rgba(25, 167, 167, 0.8)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.problem-list p {
    margin: 8px 0; /* Adds space between each problem */
    font-size: 1.1em; /* Ensures readability */
}

.hero-content h1, .hero-content h2 {
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.05em;
    line-height: 1.6;
}


.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--card-bg);
    box-shadow: var(--shadow);
    transition: border-color 0.3s ease;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-text .subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* This makes it 3 columns by default */
    gap: 30px;
    justify-items: center; /* This centers the items horizontally */
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.service-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr; /* 1 column on smaller screens */
    }
}


/* Expertise Section */
.expertise {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.expertise-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease; /* Added transition for smooth hover effect */
}

.expertise-item:hover {
    transform: translateY(-10px); /* Lift effect */
    box-shadow: 0 15px 30px var(--shadow-color); /* Enhanced shadow on hover */
}

.expertise-item h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.expertise-item h3 i {
    color: var(--secondary-color);
}




/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    color: var(--button-text);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.full-width {
    grid-column: 1 / -1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item p {
    color: var(--text-color);
    margin: 0;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(13, 110, 110, 0.03) 0%, rgba(25, 167, 167, 0.05) 100%);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.section-highlight {
    animation: highlightSection 2s ease;
}

@keyframes highlightSection {
    0% {
        background: linear-gradient(135deg, rgba(13, 110, 110, 0.03) 0%, rgba(25, 167, 167, 0.05) 100%);
    }
    50% {
        background: linear-gradient(135deg, rgba(13, 110, 110, 0.08) 0%, rgba(25, 167, 167, 0.12) 100%);
    }
    100% {
        background: linear-gradient(135deg, rgba(13, 110, 110, 0.03) 0%, rgba(25, 167, 167, 0.05) 100%);
    }
}

.gallery-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.gallery .section-header {
    text-align: left;
}

.gallery .section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.gallery-subtitle {
    font-size: 1.15rem;
    color: var(--text-color);
    opacity: 0.75;
    margin-bottom: 18px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    font-style: italic;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(13, 110, 110, 0.2);
    letter-spacing: 0.3px;
}

.btn-view-all:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 110, 0.35);
}

.btn-view-all i {
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(4px);
}

.gallery-scroll-container {
    margin-top: 60px;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 30px 0;
}

.gallery-scroll-container::before,
.gallery-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 5;
    pointer-events: none;
}

.gallery-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(13, 110, 110, 0.03), rgba(13, 110, 110, 0));
}

.gallery-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(13, 110, 110, 0.03), rgba(13, 110, 110, 0));
}

.gallery-scroll-wrapper {
    display: flex;
    gap: 50px;
    animation: scroll-horizontal 60s linear infinite;
    width: fit-content;
    padding: 15px 0;
}

.gallery-scroll-wrapper:hover {
    animation-play-state: paused;
}

.gallery-scroll-wrapper:active {
    cursor: grabbing;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 
        0 4px 20px var(--shadow-color),
        0 2px 8px var(--shadow-color);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    width: 450px;
    height: 450px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 110, 0.02), rgba(25, 167, 167, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(13, 110, 110, 0.2),
        0 6px 20px var(--shadow-color);
    border-color: var(--primary-color);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
    border-radius: 12px;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(13, 110, 110, 0.95) 0%,
        rgba(13, 110, 110, 0.85) 60%,
        rgba(13, 110, 110, 0) 100%
    );
    color: var(--white);
    padding: 30px 25px 25px;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(8px);
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(
        to top,
        rgba(13, 110, 110, 0.98) 0%,
        rgba(13, 110, 110, 0.9) 60%,
        rgba(13, 110, 110, 0) 100%
    );
    padding: 35px 25px 25px;
}

.gallery-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.95;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

.gallery-view-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    text-decoration: none;
    opacity: 0;
    transform: scale(0.7) rotate(-10deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
    box-shadow: 
        0 4px 12px var(--shadow-color),
        0 2px 6px var(--shadow-color);
    border: 2px solid var(--border-color);
}

.gallery-item:hover .gallery-view-icon,
.gallery-all-item:hover .gallery-view-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.gallery-view-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 6px 20px rgba(13, 110, 110, 0.4),
        0 3px 10px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .gallery {
        padding: 80px 0;
    }
    
    .gallery-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .gallery .section-header {
        text-align: center;
    }
    
    .gallery .section-header h2 {
        font-size: 2.2rem;
    }
    
    .gallery-subtitle {
        font-size: 1rem;
        text-align: center;
        white-space: normal;
    }
    
    .btn-view-all {
        width: 100%;
        justify-content: center;
        max-width: 220px;
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .gallery-item {
        width: 340px;
        height: 340px;
        border-radius: 14px;
    }
    
    .gallery-scroll-container {
        padding: 20px 0;
    }
    
    .gallery-scroll-wrapper {
        gap: 30px;
    }
    
    .gallery-scroll-container::before,
    .gallery-scroll-container::after {
        width: 60px;
    }
    
    .gallery-overlay {
        padding: 20px 15px 15px;
    }
    
    .gallery-overlay h3 {
        font-size: 1.2rem;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
    }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--button-text);
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--button-text);
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-logo p {
    color: var(--light-color);
    opacity: 0.9;
    margin-top: 10px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    color: var(--button-text);
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light-color);
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--light-color);
    opacity: 0.9;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--dark-color);
    color: var(--button-text);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-color);
    margin-left: 10px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Privacy Policy Page Styles */
.privacy-policy {
    padding: 60px 20px;
    max-width: 900px;
    margin: 100px auto;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.privacy-policy h1, 
.privacy-policy h2, 
.privacy-policy h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.privacy-policy ul {
    padding-left: 20px;
}

.privacy-policy ul li {
    margin-bottom: 10px;
}

.privacy-policy a {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

/* Footer Updates - Consolidated with above */

/* Terms & Conditions Page Styles */
.terms-conditions {
    padding: 60px 20px;
    max-width: 900px;
    margin: auto;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.terms-conditions h1, 
.terms-conditions h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.terms-conditions ul {
    padding-left: 20px;
}

.terms-conditions ul li {
    margin-bottom: 10px;
}

.terms-conditions a {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-conditions a:hover {
    text-decoration: underline;
}



/* Tooltip Styles */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

.tooltip {
    position: absolute;
    background-color: var(--dark-color);
    color: var(--button-text);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 250px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

.tooltip::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

/* Tooltip positioning - Top */
[data-tooltip-position="top"] .tooltip,
.tooltip-top {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    margin-bottom: 8px;
}

[data-tooltip-position="top"] .tooltip::before,
.tooltip-top::before {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-color: var(--dark-color) transparent transparent transparent;
}

/* Tooltip positioning - Bottom */
[data-tooltip-position="bottom"] .tooltip,
.tooltip-bottom {
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    margin-top: 8px;
}

[data-tooltip-position="bottom"] .tooltip::before,
.tooltip-bottom::before {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-color: transparent transparent var(--dark-color) transparent;
}

/* Tooltip positioning - Left */
[data-tooltip-position="left"] .tooltip,
.tooltip-left {
    right: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(-5px);
    margin-right: 8px;
}

[data-tooltip-position="left"] .tooltip::before,
.tooltip-left::before {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent var(--dark-color);
}

/* Tooltip positioning - Right */
[data-tooltip-position="right"] .tooltip,
.tooltip-right {
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(5px);
    margin-left: 8px;
}

[data-tooltip-position="right"] .tooltip::before,
.tooltip-right::before {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0;
    border-color: transparent var(--dark-color) transparent transparent;
}

/* Show tooltip on hover */
[data-tooltip]:hover .tooltip,
[data-tooltip].tooltip-active .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

[data-tooltip-position="top"]:hover .tooltip,
[data-tooltip-position="top"].tooltip-active .tooltip {
    transform: translateX(-50%) translateY(0);
}

[data-tooltip-position="bottom"]:hover .tooltip,
[data-tooltip-position="bottom"].tooltip-active .tooltip {
    transform: translateX(-50%) translateY(0);
}

[data-tooltip-position="left"]:hover .tooltip,
[data-tooltip-position="left"].tooltip-active .tooltip {
    transform: translateY(-50%) translateX(0);
}

[data-tooltip-position="right"]:hover .tooltip,
[data-tooltip-position="right"].tooltip-active .tooltip {
    transform: translateY(-50%) translateX(0);
}

/* Dark mode tooltip */
[data-theme="dark"] .tooltip {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .tooltip-top::before {
    border-color: var(--card-bg) transparent transparent transparent;
}

[data-theme="dark"] .tooltip-bottom::before {
    border-color: transparent transparent var(--card-bg) transparent;
}

[data-theme="dark"] .tooltip-left::before {
    border-color: transparent transparent transparent var(--card-bg);
}

[data-theme="dark"] .tooltip-right::before {
    border-color: transparent var(--card-bg) transparent transparent;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .image-container {
        width: 250px;
        height: 250px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    nav ul {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .dark-mode-toggle {
        margin-left: 10px;
        width: 50px;
        height: 26px;
    }
    
    .dark-mode-slider:before {
        height: 18px;
        width: 18px;
        left: 4px;
        bottom: 4px;
    }
    
    .dark-mode-toggle input:checked + .dark-mode-slider:before {
        transform: translateX(24px);
    }
    
    .dark-mode-slider .toggle-icon {
        font-size: 12px;
    }
    
    .dark-mode-slider .toggle-icon.moon-icon {
        left: 6px;
    }
    
    .dark-mode-slider .toggle-icon.sun-icon {
        right: 6px;
    }
}