/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --max-content-width: 1440px; /* Added max content width */
}


* {
   margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    background: var(--secondary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    z-index: 1200;
    transition: all 0.3s ease;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    text-align: right;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 18px;
}

/* Header adjustments for mobile */
@media (max-width: 768px) {
    header .container {
        padding: 15px;
    }
    
    nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    /* Fix spacing for mobile */
    .page-header, .video-background {
        margin-top: 60px;
    }
}

/* Video background adjustments for mobile */
@media (max-width: 768px) {
    .video-background {
        min-height: 400px;
        height: 60vh;
    }
    
    .video-content h2 {
        font-size: 28px;
    }
    
    .video-content p {
        font-size: 16px;
    }
    
   
}

/* General content adjustments */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    section {
        padding: 50px 0;
    }
    
    .services-grid, .project-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        padding: 0;
        margin-bottom: 30px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Fix for small mobile devices */
@media (max-width: 480px) {
    .video-content h2 {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .form-group input, 
    .form-group select, 
    .form-group textarea {
        padding: 12px;
    }
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 100%;
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section {
    width: 100%;
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

p {
    margin-bottom: 15px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo h1 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight:500;
    position: relative;
    padding: 5px 0;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

nav ul li.active a {
    color: var(--secondary-color);
}

nav ul li.active a:after {
    width: 100%;
}

/* Video Background Section */
.video-background {
   position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 80px;
}

.video-background video {
   position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
    -webkit-overflow-scrolling: touch; /* For iOS scrolling */

}

.video-content {
    position: relative;
    z-index: 1;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 0 20px;
    object-fit: cover;
}

.video-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.video-content p {
    font-size: 20px;
    max-width: 700px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Services Section */
.services {
    background-color: white;
    text-align: center;
}

.services h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.services h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
}
.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    color: white;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta .btn {
    background-color: var(--accent-color);
}

.cta .btn:hover {
    background-color: #c0392b;
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.page-header h2 {
    color: white;
    font-size: 36px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

/* Projects Section */
.projects {
    background-color: #f5f7fa;
}

.project-grid {
   display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.project-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 25px;
}

.project-sector {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.project-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.project-details p {
    margin-bottom: 8px;
    font-size: 14px;
}

.project-details strong {
    color: var(--dark-color);
}

/* About Section */
.about-content {
    background-color: white;
}

.about-section {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.about-section.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
    padding: 0 40px;
}
.about-text-core {
    /* min-width: 200px; */
    flex: 1;
    padding: 0 40px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.values-list {
    list-style: none;
}

.values-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.values-list i {
    color: var(--secondary-color);
    margin-right:5px;
    margin-top: 3px;
}

/* Team Section */
.team {
    background-color: #f5f7fa;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--light-color);
}

.team-member h3 {
    margin-bottom: 5px;
}

.position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.bio {
    font-size: 14px;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.contact-form {
    flex: 1;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-light);
    transition: all 0.3s ease;
    pointer-events: none;
    background-color: #f9f9f9;
    padding: 0 5px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:not([value=""]) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: var(--secondary-color);
    background-color: #f9f9f9;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* Map Section */
.map {
    height: 450px;
    background-color: #eee;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
        width: 100%;

}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 0;
}

.footer-section h3 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-section {
        flex-direction: column;
    }
    
    .about-section.reverse {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        padding: 0;
        margin-bottom: 30px;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .video-content h2 {
        font-size: 36px;
    }
    
    .video-content p {
        font-size: 18px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .page-header {
        padding: 80px 0 40px;
    }
}

@media (max-width: 576px) {
    .video-content h2 {
        font-size: 28px;
    }
    
    .video-content p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
    }
}
/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    background: var(--secondary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    z-index: 1200;
    transition: all 0.3s ease;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    text-align: right;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 18px;
}

/* Header adjustments for mobile */
@media (max-width: 768px) {
    header .container {
        padding: 15px;
    }
    
    nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    /* Fix spacing for mobile */
    .page-header, .video-background {
        margin-top: 60px;
    }
}

/* Video background adjustments for mobile */
@media (max-width: 768px) {
    .video-background {
        min-height: 400px;
        height: 60vh;
    }
    
    .video-content h2 {
        font-size: 28px;
    }
    
    .video-content p {
        font-size: 16px;
    }
    
   
}

/* General content adjustments */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    section {
        padding: 50px 0;
    }
    
    .services-grid, .project-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        padding: 0;
        margin-bottom: 30px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Fix for small mobile devices */
@media (max-width: 480px) {
    .video-content h2 {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .form-group input, 
    .form-group select, 
    .form-group textarea {
        padding: 12px;
    }
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width:70px;
    margin-right: 15px;
}

/* Adjust for mobile */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
        margin-right: 10px;
    }
    
    .logo h1 {
        font-size: 18px;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 50px;
    }
    
    .logo h1 {
        font-size: 16px;
    }
}

/* Favicon styling (optional) */
.favicon {
    display: none; /* Only for reference in HTML */
}

/* Team Page Specific Styles */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.page-header h2 {
    color: white;
    font-size: 36px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

.full-team {
    padding: 80px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h3 {
    font-size: 28px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-header h3:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
    margin-top: 10px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.team-member {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--light-color);
}

.team-member h4 {
    margin-bottom: 5px;
    font-size: 20px;
}

.position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.bio {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 15px;
}

/* View All Button */
.view-all-team {
    text-align: center;
    margin-top: 50px;
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .full-team {
        padding: 60px 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .page-header h2 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .team-member {
        padding: 20px;
    }
}
/* Clients Carousel */
.clients-carousel {
    background-color: #f9f9f9;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.carousel-container {
    max-width: 1000px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.client-slide {
    min-width: calc(33.333% - 40px);
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-slide img {
    max-width: 200px;
    max-height: 220px;
    width: 200px;
    height: 200px;
    /* filter: grayscale(100%); */
    /* opacity: 0.8; */
    transition: all 0.3s ease;
}

.client-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Dots navigation */
.dots-container {
    text-align: center;
    padding: 20px 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 900px) {
    .client-slide {
        min-width: calc(50% - 40px);
    }
}

@media (max-width: 600px) {
    .client-slide {
        min-width: calc(100% - 40px);
    }
    
    .dot {
        height: 10px;
        width: 10px;
    }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
  }
  
  .whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
  }

  @media (min-width: 1600px) {
    :root {
        --max-content-width: 1600px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .services-grid, .project-grid, .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
}
/* iOS specific media query */
@media (max-width: 767px) {
    .video-background {
        height: 80vh; /* Slightly smaller on mobile */
    }
    
    .video-content {
        padding: 0 15px;
    }
    
    /* Add a play button overlay for iOS */
    .ios-play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80px;
        height: 80px;
        background-color: rgba(255,255,255,0.3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
        cursor: pointer;
    }
    
    .ios-play-button i {
        color: white;
        font-size: 40px;
        margin-left: 5px;
    }
}

/* Project Cards Layout */
.project-cards-container {
    padding: 60px 0;
}

.container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 400px; /* Fixed height for all cards */
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.project-photo {
    flex: 0 0 50%;
    overflow: hidden;
    position: relative;
}

.project-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

.project-card:hover .project-photo img {
    transform: scale(1.03);
}

.project-info {
    flex: 0 0 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure full height */
    box-sizing: border-box; /* Include padding in height calculation */
}

.project-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
    line-height: 1.3;
}

.project-meta {
    margin: 15px 0;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-color);
}

.meta-item i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 18px;
    text-align: center;
}

.project-desc {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 15px;
    flex-grow: 1; /* Allow description to grow and push button down */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto; /* Push button to bottom */
    align-self: flex-start;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.project-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.project-btn:hover {
    color: var(--primary-color);
}

.project-btn:hover i {
    transform: translateX(4px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .project-info {
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .project-card {
        flex-direction: column;
        height: auto; /* Auto height on mobile */
    }
    
    .project-photo {
        flex: 0 0 300px; /* Fixed height for image */
        width: 100%;
    }
    
    .project-info {
        flex: 1 1 auto;
        padding: 25px;
    }
    
    .project-desc {
        -webkit-line-clamp: 2; /* Show fewer lines on mobile */
    }
}

@media (max-width: 768px) {
    .project-card h3 {
        font-size: 20px;
    }
    
    .project-info {
        padding: 20px;
    }
    
    .project-photo {
        flex: 0 0 250px;
    }
}

@media (max-width: 576px) {
    .project-card {
        border-radius: 8px;
    }
    
    .project-photo {
        flex: 0 0 200px;
    }
    
    .project-info {
        padding: 15px;
    }
    
    .project-tag {
        font-size: 12px;
    }
    
    .project-card h3 {
        font-size: 18px;
    }
    
    .meta-item {
        font-size: 13px;
    }
    
    .project-desc {
        font-size: 14px;
    }
}

/* Updated media queries for services grid */
@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on large screens */
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 column on small screens */
    }
}

/* Cookie Consent Banner Styles */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-consent.active {
  display: block;
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 250px;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-content a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cookie-btn.accept {
  background-color: var(--secondary-color);
  color: white;
}

.cookie-btn.reject {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}