/* 
* Taqia Constructions Pvt. Ltd. Website
* Main Stylesheet
*/

/* Global Styles */
:root {
    --primary-color: #1e73be;
    --secondary-color: #f7a100;
    --text-color: #333;
    --text-light: #777;
    --bg-light: #f8f9fa;
    --bg-dark: #212529;
    --white: #ffffff;
    --black: #000000;
    --border-color: #dee2e6;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--white);
}

body.dark-mode .bg-light {
    background-color: #2c3136 !important;
}

body.dark-mode .card {
    background-color: #343a40;
    border-color: #495057;
}

body.dark-mode .navbar {
    background-color: #343a40 !important;
}

body.dark-mode .footer {
    background-color: #212529;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
    text-align: center;
}

.section-title p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-align: center;
}

h2.section-title, 
h3.section-title {
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* Header Styles */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-brand img {
    max-height: 50px;
}

.site-name {
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
    margin-left: 5px;
}

/* Dark mode style for site name */
body.dark-mode .site-name {
    color: var(--white);
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-scrolled {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

body.dark-mode .navbar-scrolled {
    background-color: var(--bg-dark) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.hero-slide {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 1;
    width: 80%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

/* Quotes Section */
.quotes-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.quotes-section .section-intro {
    position: relative;
    z-index: 5;
}

.quotes-section .section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.quotes-section .section-title:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(247, 161, 0, 0.5);
}

.quotes-section .section-subtitle {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.animated-shape {
    position: absolute;
    border-radius: 50%;
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(2px);
}

.shape1 {
    width: 200px;
    height: 200px;
    background: rgba(247, 161, 0, 0.3);
    top: -100px;
    left: 10%;
    animation-name: float1;
}

.shape2 {
    width: 300px;
    height: 300px;
    background: rgba(30, 115, 190, 0.3);
    bottom: -150px;
    right: 10%;
    animation-name: float2;
}

.shape3 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    top: 30%;
    left: 20%;
    animation-name: float3;
}

.shape4 {
    width: 180px;
    height: 180px;
    background: rgba(247, 161, 0, 0.2);
    bottom: 20%;
    left: 40%;
    animation-name: float4;
}

@keyframes float1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, 50px) rotate(90deg); }
    50% { transform: translate(100px, 20px) rotate(180deg); }
    75% { transform: translate(50px, 80px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-60px, -30px) rotate(-90deg); }
    50% { transform: translate(-100px, -60px) rotate(-180deg); }
    75% { transform: translate(-30px, -80px) rotate(-270deg); }
    100% { transform: translate(0, 0) rotate(-360deg); }
}

@keyframes float3 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, 40px) scale(1.2); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes float4 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(-50px, 30px) scale(1.1) rotate(120deg); }
    66% { transform: translate(40px, -20px) scale(0.9) rotate(240deg); }
    100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}

.quote-decorative-element {
    position: absolute;
    z-index: 2;
    font-size: 140px;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.quote-decorative-element.left {
    top: 25%;
    left: 2%;
    transform: translateX(0);
}

.quote-decorative-element.right {
    bottom: 25%;
    right: 2%;
    transform: translateX(0);
}

.quotes-section:hover .quote-decorative-element.left {
    transform: translateX(10px) rotate(-5deg);
}

.quotes-section:hover .quote-decorative-element.right {
    transform: translateX(-10px) rotate(5deg);
}

.quotes-swiper {
    position: relative;
    z-index: 5;
    padding: 30px 0 70px;
    margin: 0 auto;
    max-width: 1000px;
}

.quote-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 
                0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                0 5px 15px rgba(255, 255, 255, 0.05) inset;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    width: 85%;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-slide:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.15) inset,
                0 5px 25px rgba(255, 255, 255, 0.1) inset;
}

.quote-image {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: all 0.7s ease;
    filter: brightness(0.9) contrast(1.1);
}

.quote-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 115, 190, 0.3) 0%, rgba(247, 161, 0, 0.3) 100%);
    z-index: 1;
    opacity: 0.6;
    transition: all 0.5s ease;
}

.quote-slide:hover .quote-image {
    transform: scale(1.03);
}

.quote-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
}

.quote-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
    padding: 30px;
    width: 100%;
    background: rgba(30, 115, 190, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -60px auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.quote-icon i {
    font-size: 24px;
    color: #fff;
}

.quote-content p {
    font-size: 22px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.quote-content p::before,
.quote-content p::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.2;
}

.quote-content p::before {
    top: -10px;
    left: -20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M13,14.5h-1c0-3.5,2.5-6.5,6-6.5v1C15.75,9.5,13,12,13,14.5z M7,14.5H6c0-3.5,2.5-6.5,6-6.5v1C9.75,9.5,7,12,7,14.5z"/></svg>') no-repeat center center;
    transform: scale(-1, -1);
}

.quote-content p::after {
    bottom: -10px;
    right: -20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M13,14.5h-1c0-3.5,2.5-6.5,6-6.5v1C15.75,9.5,13,12,13,14.5z M7,14.5H6c0-3.5,2.5-6.5,6-6.5v1C9.75,9.5,7,12,7,14.5z"/></svg>') no-repeat center center;
}

.quote-content .author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 8px 25px;
    display: inline-flex;
    position: relative;
}

.quote-content .author::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    border-radius: 30px;
    opacity: 0.4;
}

.quote-content .author .line {
    width: 25px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

.quote-content .author .name {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    margin: 0 15px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    position: relative;
    color: rgba(255, 255, 255, 0.95);
}

.quotes-button-next,
.quotes-button-prev {
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(30, 115, 190, 0.3), rgba(30, 115, 190, 0.6));
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    outline: 1px solid rgba(255, 255, 255, 0.1);
}

.quotes-section:hover .quotes-button-next,
.quotes-section:hover .quotes-button-prev {
    opacity: 1;
}

.quotes-button-next:after,
.quotes-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.quotes-button-next:hover,
.quotes-button-prev:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.quotes-pagination {
    bottom: 20px !important;
}

.quotes-pagination .swiper-pagination-bullet {
    width: 40px;
    height: 5px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.quotes-pagination .swiper-pagination-bullet-active {
    background: var(--secondary-color);
    width: 60px;
    box-shadow: 0 0 10px rgba(247, 161, 0, 0.5);
}

@media (max-width: 992px) {
    .quote-slide {
        width: 90%;
    }
    
    .quote-content p {
        font-size: 20px;
    }
    
    .quote-decorative-element {
        font-size: 120px;
    }
    
    .quote-image {
        height: 180px;
    }
    
    .quote-content .author .name {
        font-size: 14px;
    }
    
    .quote-decorative-element {
        font-size: 100px;
        opacity: 0.05;
    }
    
    .quotes-button-next,
    .quotes-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .quotes-pagination .swiper-pagination-bullet {
        width: 30px;
        height: 4px;
    }
    
    .quotes-pagination .swiper-pagination-bullet-active {
        width: 45px;
    }
}

@media (max-width: 768px) {
    .quotes-section {
        padding: 4rem 0;
    }
    
    .quote-slide {
        width: 95%;
    }
    
    .quote-image {
        height: 160px;
    }
    
    .quote-content {
        padding: 25px 20px;
    }
    
    .quote-content p {
        font-size: 18px;
    }
    
    .quote-content .author .name {
        font-size: 14px;
    }
    
    .quote-decorative-element {
        font-size: 100px;
        opacity: 0.05;
    }
    
    .quotes-button-next,
    .quotes-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .quotes-pagination .swiper-pagination-bullet {
        width: 30px;
        height: 4px;
    }
    
    .quotes-pagination .swiper-pagination-bullet-active {
        width: 45px;
    }
}

@media (max-width: 576px) {
    .quote-content p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .quote-image {
        height: 140px;
    }
    
    .quote-icon {
        width: 50px;
        height: 50px;
        margin-top: -50px;
    }
    
    .quote-icon i {
        font-size: 20px;
    }
    
    .quote-decorative-element {
        display: none;
    }
    
    .quotes-button-next,
    .quotes-button-prev {
        width: 36px;
        height: 36px;
    }
    
    .quotes-button-next:after,
    .quotes-button-prev:after {
        font-size: 16px;
    }
}

body.dark-mode .quotes-section {
    background: linear-gradient(135deg, #000428 0%, #004e92 100%);
}

body.dark-mode .quote-slide {
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

body.dark-mode .quote-content {
    background: rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Service cards with 50px gap */
#services .col-md-6 {
    margin-bottom: 30px;
}

.service-card {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(30, 115, 190, 0.8) 100%);
    transition: all 0.5s ease;
    z-index: -1;
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    height: 100%;
    opacity: 1;
}

.service-card:hover .service-icon,
.service-card:hover .service-title,
.service-card:hover p {
    color: white;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(30, 115, 190, 0.1);
    box-shadow: 0 5px 15px rgba(30, 115, 190, 0.15);
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Projects Section */
.projects-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.project-card {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.project-location {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.project-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-completed {
    background-color: #28a745;
    color: var(--white);
}

.status-ongoing {
    background-color: #ffc107;
    color: var(--black);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
}

.gallery-item {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gallery-img {
    height: 250px;
    overflow: hidden;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: var(--white);
    text-align: center;
    padding: 0 1rem;
}

/* Founder Section */
.founder-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.founder-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.founder-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.founder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.founder-designation {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.founder-message {
    font-style: italic;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(33, 37, 41, 0.92), rgba(33, 37, 41, 0.92)), url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1567&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
}

.contact-section .section-title h2,
.contact-section .section-title p {
    color: white;
}

.contact-section .section-title::after {
    background-color: var(--secondary-color);
}

.contact-info {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--white);
    margin-right: 1rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(30, 115, 190, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--secondary-color);
    transform: scale(1.1) rotate(10deg);
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form {
    padding: 2.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.85rem 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(247, 161, 0, 0.25);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 3rem;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 60px 0 0;
    position: relative;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 20px;
}

.footer-text {
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: var(--text-light);
    transition: var(--transition);
    text-decoration: none;
}

.footer-links li a:hover {
    color: var(--primary-color);
    text-decoration: none;
    padding-left: 5px;
}

.footer-links li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #eef0f3;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-light);
}

/* Developer Section Styles */
.developer-section {
    background-color: #e9ecef;
    padding: 20px 0;
    border-top: 1px solid #dee2e6;
}

.developer-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.developer-info p {
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.developer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.developer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    transition: var(--transition);
    font-size: 14px;
}

.developer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.developer-logo p {
    font-size: 12px;
    color: var(--text-light);
}

/* Dark mode styles for footer and developer section */
body.dark-mode .footer {
    background-color: #212529;
}

body.dark-mode .footer-text,
body.dark-mode .footer-links li a,
body.dark-mode .footer-bottom p {
    color: #adb5bd;
}

body.dark-mode .footer-bottom {
    background-color: #1a1d20;
}

body.dark-mode .developer-section {
    background-color: #1a1d20;
    border-top-color: #343a40;
}

body.dark-mode .developer-info h4 {
    color: #f8f9fa;
}

body.dark-mode .developer-info p,
body.dark-mode .developer-logo p {
    color: #adb5bd;
}

/* Counter Section */
.counter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(30, 115, 190, 0.95) 0%, rgba(26, 64, 114, 0.95) 100%), url('https://images.unsplash.com/photo-1531834685032-c34bf0d84c77?ixlib=rb-1.2.1&auto=format&fit=crop&w=1567&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.counter-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.counter-item:hover {
    transform: translateY(-15px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.3);
}

.counter-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.5s, opacity 0.5s;
}

.counter-item:hover::after {
    opacity: 1;
    transform: scale(1);
}

.counter-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    width: 90px;
    height: 90px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(247, 161, 0, 0.4), rgba(247, 161, 0, 0.2));
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(247, 161, 0, 0.3), inset 0 2px 3px rgba(255, 255, 255, 0.3);
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.counter-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(247, 161, 0, 0.8), rgba(247, 161, 0, 0.2));
    z-index: -1;
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.counter-item:hover .counter-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, rgba(247, 161, 0, 0.6), rgba(247, 161, 0, 0.3));
    box-shadow: 0 15px 35px rgba(247, 161, 0, 0.4), inset 0 3px 5px rgba(255, 255, 255, 0.4);
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.counter-item:hover .counter-number {
    transform: scale(1.05);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.counter-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.counter-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, rgba(247, 161, 0, 0.3), rgba(247, 161, 0, 0.8), rgba(247, 161, 0, 0.3));
    border-radius: 3px;
}



/* Vision & Mission Section */
.vision-mission-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.vision-mission-section .row > [class*='col-'] {
    margin-bottom: 20px;
}

.vision-card, .mission-card {
    height: 100%;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.vision-card::before, .mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 2;
}

.vision-card::before {
    background: linear-gradient(to right, var(--primary-color), #6ab7ff);
}

.mission-card::before {
    background: linear-gradient(to right, #ff7e5f, #feb47b);
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vision-icon, .mission-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}

.vision-icon {
    color: var(--primary-color);
    background: rgba(30, 115, 190, 0.1);
    box-shadow: 0 10px 25px rgba(30, 115, 190, 0.2);
}

.mission-icon {
    color: #ff7e5f;
    background: rgba(255, 126, 95, 0.1);
    box-shadow: 0 10px 25px rgba(255, 126, 95, 0.2);
}

.vision-card h3, .mission-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.vision-card h3::after, .mission-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 3px;
}

.vision-card h3::after {
    background: var(--primary-color);
}

.mission-card h3::after {
    background: #ff7e5f;
}

.vision-card p, .mission-card p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Dark Mode Styles for Vision & Mission */
body.dark-mode .vision-mission-section {
    background: linear-gradient(rgba(33, 37, 41, 0.85), rgba(33, 37, 41, 0.85)), url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}

body.dark-mode .vision-card, body.dark-mode .mission-card {
    background: rgba(33, 37, 41, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .vision-card p, body.dark-mode .mission-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Quality Assurance Section */
.quality-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
    position: relative;
}

.quality-content {
    padding: 2rem;
}

.quality-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.quality-image-container {
    position: relative;
    margin-bottom: 20px;
}

.quality-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.quality-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.quality-image:hover img {
    transform: scale(1.05);
}

.quality-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.quality-icon {
    font-size: 3rem;
    color: #fff;
    background: rgba(30, 115, 190, 0.7);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.quality-image:hover .quality-icon {
    transform: scale(1.1) rotate(10deg);
}

.quality-badges {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.quality-badge {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    transition: all 0.3s ease;
}

.quality-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.quality-badge i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.quality-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.why-choose-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.why-choose-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.badge-content {
    text-align: center;
    color: #fff;
}

.badge-content .years {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.badge-content .text {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    display: block;
    line-height: 1.2;
}

.why-choose-content {
    padding: 2rem;
}

.why-choose-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.why-choose-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-right: 1rem;
    background: rgba(30, 115, 190, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-light);
}

/* Dark Mode Styles for Quality and Why Choose Us */
body.dark-mode .quality-section {
    background-color: var(--bg-dark);
}

body.dark-mode .quality-badge,
body.dark-mode .feature-item {
    background: rgba(33, 37, 41, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .quality-content p,
body.dark-mode .why-choose-content p,
body.dark-mode .feature-text p {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .why-choose-section {
    background: linear-gradient(rgba(33, 37, 41, 0.85), rgba(33, 37, 41, 0.85)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}

/* Footer Styles */
.footer-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    color: var(--primary-color);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    border-radius: 3px;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 28px;
}

.footer-links li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: rgba(30, 115, 190, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.footer-links li::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.7rem;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Quick Links Icons */
.col-lg-2 .footer-links li:nth-child(1)::after { content: '\f015'; } /* home */
.col-lg-2 .footer-links li:nth-child(2)::after { content: '\f085'; } /* services */
.col-lg-2 .footer-links li:nth-child(3)::after { content: '\f1ad'; } /* projects */
.col-lg-2 .footer-links li:nth-child(4)::after { content: '\f03e'; } /* gallery */
.col-lg-2 .footer-links li:nth-child(5)::after { content: '\f007'; } /* founder */
.col-lg-2 .footer-links li:nth-child(6)::after { content: '\f0e0'; } /* contact */

/* Our Services Icons */
.col-lg-3 .footer-links li:nth-child(1)::after { content: '\f015'; } /* residential */
.col-lg-3 .footer-links li:nth-child(2)::after { content: '\f1ad'; } /* commercial */
.col-lg-3 .footer-links li:nth-child(3)::after { content: '\f044'; } /* renovation */
.col-lg-3 .footer-links li:nth-child(4)::after { content: '\f6cf'; } /* architecture */

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links li:hover::before {
    background-color: rgba(30, 115, 190, 0.2);
    transform: translateY(-50%) scale(1.2);
}

.footer-links li a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-links li:hover a {
    color: var(--primary-color);
}

/* Dark Mode Footer Styles */
body.dark-mode .footer-links li a {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .footer-links li:hover a {
    color: var(--primary-color);
}

body.dark-mode .footer-links li::before {
    background-color: rgba(30, 115, 190, 0.2);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ffffff, #f7a100);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.testimonials-title {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.testimonials-title:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

.testimonial-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: center;
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-item p:first-child {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-item p:first-child:before,
.testimonial-item p:first-child:after {
    content: '"';
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
}

.testimonial-item h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.testimonial-item p:last-child {
    color: var(--text-light);
    font-size: 14px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    background-color: #e9ecef;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.newsletter-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.newsletter-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.newsletter-form .input-group {
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border-radius: 50px 0 0 50px;
    height: 48px;
    padding-left: 20px;
    border: none;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    height: 48px;
    padding: 0 25px;
}

.newsletter-form .form-check-label {
    font-size: 14px;
    color: var(--text-light);
}

/* Awards Section */
.awards-section {
    padding: 60px 0;
    background-color: var(--white);
}

.awards-title {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.awards-title:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

.award-item {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
    margin-bottom: 20px;
}

.award-item:hover {
    transform: translateY(-10px);
}

.award-item i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.award-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.award-item p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Dark mode styles for the new sections */
body.dark-mode .testimonials-section {
    background-color: #212529;
}

body.dark-mode .testimonial-item {
    background-color: #343a40;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .testimonial-item h4 {
    color: #f8f9fa;
}

body.dark-mode .testimonial-item p:last-child {
    color: #adb5bd;
}

body.dark-mode .newsletter-section {
    background-color: #212529;
    border-color: #343a40;
}

body.dark-mode .newsletter-content h3 {
    color: #f8f9fa;
}

body.dark-mode .newsletter-content p,
body.dark-mode .newsletter-form .form-check-label {
    color: #adb5bd;
}

body.dark-mode .awards-section {
    background-color: #343a40;
}

body.dark-mode .award-item h4 {
    color: #f8f9fa;
}

body.dark-mode .award-item p {
    color: #adb5bd;
}

/* FAQ Section Styles */
.faq-section {
    padding: 70px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

.section-description {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 16px;
}

.accordion {
    margin-bottom: 30px;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background-color: var(--white);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    padding: 18px 25px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
    background-color: var(--white);
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(30, 115, 190, 0.05);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

.accordion-button::after {
    background-size: 16px;
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.accordion-body {
    padding: 20px 25px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

/* Dark mode styles for FAQ section */
body.dark-mode .faq-section {
    background-color: #212529;
}

body.dark-mode .section-title {
    color: #f8f9fa;
}

body.dark-mode .section-description {
    color: #adb5bd;
}

body.dark-mode .accordion-item {
    background-color: #343a40;
    border-color: #495057;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.dark-mode .accordion-button {
    color: #f8f9fa;
    background-color: #343a40;
}

body.dark-mode .accordion-button:not(.collapsed) {
    color: var(--secondary-color);
    background-color: rgba(247, 161, 0, 0.1);
}

body.dark-mode .accordion-body {
    color: #adb5bd;
}

/* Theme Toggle Button Styles */
.theme-toggle {
    background-color: transparent;
    border: none;
    color: var(--text-color);
    font-size: 18px;
    padding: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--primary-color);
    transform: rotate(30deg);
}

body.dark-mode .theme-toggle {
    color: var(--white);
}

body.dark-mode .theme-toggle:hover {
    color: var(--secondary-color);
}

/* Language Dropdown Styles */
.dropdown-menu {
    min-width: 180px;
    padding: 10px 0;
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.dropdown-item:hover, 
.dropdown-item:focus, 
.dropdown-item.active {
    background-color: rgba(30, 115, 190, 0.1);
    color: var(--primary-color);
}

.dropdown-item img {
    border-radius: 2px;
}

/* Dark mode styles for dropdown */
body.dark-mode .dropdown-menu {
    background-color: #343a40;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .dropdown-item {
    color: #f8f9fa;
}

body.dark-mode .dropdown-item:hover,
body.dark-mode .dropdown-item:focus,
body.dark-mode .dropdown-item.active {
    background-color: rgba(247, 161, 0, 0.1);
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .quote-slide {
        width: 90%;
        padding: 20px;
    }
    
    .quote-content p {
        font-size: 20px;
    }
    
    .quote-decorative-element {
        font-size: 120px;
    }
    
    .quote-image {
        height: 150px;
    }
    
    .quote-content .author .name {
        font-size: 14px;
    }
    
    .quote-decorative-element {
        font-size: 100px;
        opacity: 0.05;
    }
    
    .quotes-button-next,
    .quotes-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .quotes-pagination .swiper-pagination-bullet {
        width: 30px;
        height: 4px;
    }
    
    .quotes-pagination .swiper-pagination-bullet-active {
        width: 45px;
    }
}

@media (max-width: 768px) {
    .quotes-section {
        padding: 4rem 0;
    }
    
    .quote-slide {
        width: 95%;
    }
    
    .quote-image {
        height: 160px;
    }
    
    .quote-content p {
        font-size: 18px;
    }
    
    .quote-content .author .name {
        font-size: 14px;
    }
    
    .quote-decorative-element {
        font-size: 100px;
        opacity: 0.05;
    }
    
    .quotes-button-next,
    .quotes-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .quotes-pagination .swiper-pagination-bullet {
        width: 30px;
        height: 4px;
    }
    
    .quotes-pagination .swiper-pagination-bullet-active {
        width: 45px;
    }
}

@media (max-width: 576px) {
    .quote-content p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .quote-image {
        height: 140px;
    }
    
    .quote-icon {
        width: 50px;
        height: 50px;
        margin-top: -50px;
    }
    
    .quote-icon i {
        font-size: 20px;
    }
    
    .quote-decorative-element {
        display: none;
    }
    
    .quotes-button-next,
    .quotes-button-prev {
        width: 36px;
        height: 36px;
    }
    
    .quotes-button-next:after,
    .quotes-button-prev:after {
        font-size: 16px;
    }
}

/* Mobile Navbar Fixes */
@media (max-width: 991px) {
    /* Navbar container fixes */
    .navbar {
        padding: 10px 0;
    }
    
    /* Logo and brand name adjustments */
    .navbar-brand img {
        max-height: 40px;
    }
    
    .site-name {
        font-size: 16px;
    }
    
    /* Toggle button improvements */
    .navbar-toggler {
        border: none;
        padding: 6px 8px;
        outline: none !important;
        box-shadow: none !important;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
    }
    
    /* Navigation menu in mobile view */
    .navbar-collapse {
        background-color: var(--white);
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 15px;
        margin-top: 10px;
    }
    
    body.dark-mode .navbar-collapse {
        background-color: var(--bg-dark);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-nav .nav-item {
        margin: 5px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 8px 15px;
        border-radius: 4px;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: rgba(30, 115, 190, 0.1);
    }
    
    body.dark-mode .navbar-nav .nav-link:hover,
    body.dark-mode .navbar-nav .nav-link.active {
        background-color: rgba(247, 161, 0, 0.1);
    }
    
    /* Handle dropdown on mobile */
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0 0 0 15px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    
    body.dark-mode .dropdown-menu {
        background-color: transparent;
        box-shadow: none;
    }
}

@media (max-width: 576px) {
    /* Further adjustments for very small screens */
    .navbar-brand {
        max-width: 70%;
    }
    
    .site-name {
        font-size: 14px;
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Author line alignment in quotes */
.author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.author .name {
    margin: 0 15px;
    text-align: center;
}
