/* Global Styles */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #f59e0b;
    --text-color: #1e293b;
    --light-text: #fff;
    --background-light: #f1f5f9;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

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

/* Hamburger Button */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 1002;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid #eee;
}

.close-menu {
    background: none;
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

.mobile-nav li {
    border-bottom: 1px solid #eee;
}

.mobile-nav a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem;
    display: block;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--accent-color);
    background: rgba(255, 140, 50, 0.1);
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.05rem;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

/* Active Link Style */
.nav-links a.active {
    color: var(--accent-color);
}

.nav-links a.active::after {
    width: 100%;
}

/* Animation for Nav Links */
.nav-links li {
    opacity: 0;
    animation: fadeInDown 0.5s ease forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.1s; }
.nav-links li:nth-child(2) { animation-delay: 0.2s; }
.nav-links li:nth-child(3) { animation-delay: 0.3s; }
.nav-links li:nth-child(4) { animation-delay: 0.4s; }
.nav-links li:nth-child(5) { animation-delay: 0.5s; }
.nav-links li:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effect with Background */
.nav-links a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .logo img {
        height: 35px;
    }
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-left: 2rem;
}

.social-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
    transform: scale(0.5);
    border-radius: 50%;
}

.social-icon:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icon:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Animation for icons on page load */
.social-icons .social-icon:nth-child(1) {
    animation: slideIn 0.5s ease forwards 0.2s;
}

.social-icons .social-icon:nth-child(2) {
    animation: slideIn 0.5s ease forwards 0.4s;
}

.social-icons .social-icon:nth-child(3) {
    animation: slideIn 0.5s ease forwards 0.6s;
}

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

/* Update mobile menu styles to accommodate social icons */
@media (max-width: 768px) {
    .social-icons {
        display: none; /* Hide on mobile */
    }
    
    /* Show social icons in mobile menu if desired */
    .mobile-nav-active .social-icons {
        display: flex;
        justify-content: center;
        margin: 1rem 0;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 1;
    filter: brightness(1.15) contrast(1.08) saturate(1.05);
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.3)
    );
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    text-align: right;
    padding: 20px;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding-top: 80px;
    }

    .hero .container {
        padding: 0 15px;
        justify-content: center;
    }

    .hero-content {
        text-align: center;
        padding: 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-background {
        background-position: 70% center; /* Adjust this value to show the right side of the image */
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-background {
        background-position: 80% center; /* Further adjust for smaller screens */
    }
}

/* Option 1: Orange Theme (matching your accent color) */
.cta-button {
    background: var(--accent-color);
    color: white;
    border: 2px solid transparent;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #FF8C32; /* Slightly lighter shade of the accent color */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

/* Option 2: Gradient Orange Theme */
/*
.cta-button {
    background: linear-gradient(135deg, #FF6B00, #FF8C32);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: linear-gradient(135deg, #FF8C32, #FF6B00);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}
*/

/* Option 3: Dark Orange Theme */
/*
.cta-button {
    background: #E65100;
    color: white;
    border: 2px solid transparent;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #FF6B00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 81, 0, 0.3);
}
*/

/* Services Section */
.services {
    padding-top: 80px;
    margin-top: 80px;
    padding-bottom: 70px;
    background: var(--background-light);
}

.services h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 50px 0;
}

.about h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.stat-item h3 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Why Choose Us Section */
.why-us {
    padding: 50px 0;
    background: var(--background-light);
}

.why-us h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-us-item {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.why-us-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Founders Section */
.founders {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.founders h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.founders h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    transform-origin: center;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.founder-content {
    background: white;
    border-radius: 20px;
}

.founder-content h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.founder-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    background: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-block;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.specialization {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.2rem;
}

.location, .experience {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.location i, .experience i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.about-text {
    margin: 2.5rem 0;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.1rem;
}

.expertise {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.expertise h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.expertise ul {
    list-style: none;
}

.expertise ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-color);
    font-size: 1.1rem;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.expertise ul li:hover {
    transform: translateX(10px);
    color: var(--primary-color);
}

.expertise ul li i {
    transition: all 0.3s ease;
}

.expertise ul li:hover i {
    transform: scale(1.2);
    color: var(--accent-color);
}

/* Animation Delays */
.animate__delay-1s {
    animation-delay: 0.2s;
}

.animate__delay-2s {
    animation-delay: 0.4s;
}

.animate__delay-3s {
    animation-delay: 0.6s;
}

.animate__delay-4s {
    animation-delay: 0.8s;
}

/* Ensure animations only play once */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-card {
        padding: 1.5rem;
    }

    .founder-content h3 {
        font-size: 1.8rem;
    }

    .badge {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero .container {
        margin-top: 15px;
    }

    .hero-content {
        margin-top: 10px;
    }

    .services {
        padding-top: 60px;
        margin-top: 60px;
        padding-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
}

/* Contact Section Styling */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 600;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent-color), #FF8C32);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 28px;
    color: white;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon i {
    transform: scale(1.1);
}

.contact-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-card:hover h3 {
    color: var(--accent-color);
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

.contact-card:hover p {
    color: #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
    }

    .contact-icon i {
        font-size: 24px;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom {
    padding: 15px 0;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

.animate__fadeInLeft {
    animation-name: fadeInLeft;
}

.animate__fadeInRight {
    animation-name: fadeInRight;
}

.animate__pulse {
    animation-name: pulse;
}

.animate__infinite {
    animation-iteration-count: infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-20px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(20px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes pulse {
    from {
        transform: scale3d(1, 1, 1);
    }
    50% {
        transform: scale3d(1.05, 1.05, 1.05);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}

/* Career Section */
.career {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.career h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.career h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.career-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 1.5rem;
}

.career-intro {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.career-intro:hover {
    transform: translateY(-5px);
}

.career-intro i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.career-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

.hr-contact {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.1);
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.hr-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.hr-header {
    margin-bottom: 2rem;
}

.hr-header i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.hr-contact h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hr-contact p {
    color: #4b5563;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.email-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.email-link {
    display: inline-block;
    padding: 12px 20px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 15px;
    word-break: break-all; /* Allows email to break into multiple lines */
    max-width: 100%; /* Ensures it doesn't overflow container */
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .email-link {
        font-size: 14px; /* Smaller font size for mobile */
        padding: 10px 15px;
        width: 100%; /* Full width on mobile */
        text-align: center;
        box-sizing: border-box;
    }

    .hr-contact {
        padding: 15px;
        margin: 0 10px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .email-link {
        font-size: 13px;
        padding: 8px 12px;
    }

    .hr-contact {
        padding: 10px;
    }
}

/* Update the Leadership section ID */
#leadership {
    scroll-margin-top: 80px; /* This helps with smooth scrolling to the section */
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-icon {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none; /* Added to remove default link styling */
}

/* Brand colors and hover effects */
.social-icon i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-icon i.fa-twitter {
    color: #1DA1F2;
}

.social-icon i.fa-facebook-f {
    color: #4267B2;
}

.social-icon i.fa-linkedin-in {
    color: #0077B5;
}

/* Hover effects */
.social-icon:hover {
    transform: translateX(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

/* Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.social-icons .social-icon {
    animation: slideIn 0.5s ease forwards;
    opacity: 1; /* Ensure icons remain visible */
}

.social-icons .social-icon:nth-child(1) {
    animation-delay: 0.3s;
}

.social-icons .social-icon:nth-child(2) {
    animation-delay: 0.4s;
}

.social-icons .social-icon:nth-child(3) {
    animation-delay: 0.5s;
}

/* Floating animation after initial load */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.social-icons .social-icon.animated {
    animation: float 3s ease-in-out infinite;
}

/* Hover tooltip */
.tooltip {
    position: absolute;
    right: 50px;
    background: #ffffff;
    color: #333;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #ffffff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.social-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Add this JavaScript to create the floating effect after initial animation */

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .social-sidebar {
        right: 15px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .tooltip {
        display: none; /* Hide tooltips on mobile */
    }
}

/* Section Spacing Adjustments */
section {
    padding: 70px 0; /* Increased from 60px to 70px */
}

/* Add margin between sections */
section + section {
    margin-top: 20px; /* Additional space between consecutive sections */
}

/* Keep hero section spacing special */
.hero {
    padding: 80px 0; /* Slightly larger padding for hero section */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    section {
        padding: 50px 0; /* Slightly less padding on mobile */
    }
    
    section + section {
        margin-top: 15px; /* Less additional space on mobile */
    }
}

/* Remove scroll padding adjustments */
html {
    scroll-behavior: smooth; /* Keep only smooth scrolling */
}

/* Reset section spacing to original */
section {
    padding: 60px 0; /* Keep the standard padding we had before */
}

/* Reset section title spacing */
.section-title, 
.section-heading, 
section h2 {
    margin-bottom: 2rem; /* Keep original margin */
}

/* Remove any additional padding/margin adjustments */

/* Section Title Spacing */
section {
    padding-top: 80px; /* Match with scroll-padding-top */
    margin-top: -80px; /* Negative margin to offset the padding */
}

.section-title, 
.section-heading, 
section h2 {
    padding-top: 20px; /* Additional padding for titles */
}

/* For mobile devices */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 60px; /* Smaller offset for mobile */
    }
    
    section {
        padding-top: 60px;
        margin-top: -60px;
    }
}

/* Enhanced Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    border: 2px solid #f1f1f1;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Add a scroll-to-top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

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

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    width: 0%;
    transition: width 0.2s ease;
}

/* Section Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Consistent spacing for ALL sections */
section {
    padding-top: 80px;
    margin-top: 80px;
    padding-bottom: 70px;
}

/* Hero section exception */
.hero {
    padding-top: 180px;
    margin-top: 0; /* No margin for first section */
    padding-bottom: 80px;
}

/* Specific section adjustments if needed */
.about,
.why-us,
.leadership,
.contact,
.career {
    padding-top: 80px;
    margin-top: 80px;
    padding-bottom: 70px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    section {
        padding-top: 60px;
        margin-top: 60px;
        padding-bottom: 50px;
    }

    .hero {
        padding-top: 130px;
        margin-top: 0;
        padding-bottom: 60px;
    }
} 

/* Style for welcome text with lighter orange */
.hero h1, 
.hero-title {
    color: var(--accent-color); /* Using your existing accent color variable */
    /* or use specific lighter orange: color: #FFA07A; */
}

/* Optional: Add subtle gradient effect on hover */
.hero h1:hover,
.hero-title:hover {
    background: linear-gradient(45deg, var(--accent-color), #FFB88C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.welcome-text {
    color: #FF6B00;
    font-weight: 600;
}

/* Reduce size of property valuation text */
.hero-subtitle,
.hero h2 {
    font-size: 1.8rem; /* Reduced from larger size */
    margin-bottom: 1rem;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .hero-subtitle,
    .hero h2 {
        font-size: 1.5rem; /* Even smaller on mobile */
    }
}

.property-valued-text {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Thank You Popup Styling */
.thank-you-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thank-you-popup.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
}

.thank-you-popup.active .popup-content {
    transform: translateY(0);
}

.popup-icon {
    font-size: 50px;
    color: var(--accent-color);
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

.popup-content h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
    animation: fadeInUp 0.5s ease 0.2s both;
}

.popup-content p {
    color: #666;
    margin-bottom: 15px;
    animation: fadeInUp 0.5s ease 0.2s both;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 28px;  /* Increased from 20px */
    color: #666;
    cursor: pointer;
    padding: 8px;  /* Increased padding for larger click area */
    transition: all 0.3s ease;
    width: 40px;  /* Set explicit width */
    height: 40px;  /* Set explicit height */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-popup:hover {
    color: #333;
    transform: rotate(90deg);
    background-color: rgba(0, 0, 0, 0.05);  /* Light background on hover */
}

/* Make the X icon itself bigger */
.close-popup i {
    font-size: 24px;  /* Explicit size for the icon */
    font-weight: bold;  /* Make it bolder */
}

/* Enhanced Contact Form Styling */
#contact-form {
    max-width: 800px; /* Increased from 600px */
    width: 90%;
    margin: 0 auto;
    padding: 40px 50px;
    background: linear-gradient(to bottom right, #ffffff, #f8fafc);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: formFloat 0.6s ease;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #eef2f7;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    color: #2d3748;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

#contact-form input:hover,
#contact-form textarea:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
    outline: none;
    background: white;
}

#contact-form textarea {
    min-height: 180px; /* Increased height */
    resize: vertical;
    line-height: 1.6;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: #a0aec0;
    font-size: 15px;
    font-weight: 400;
}

/* Enhanced Submit Button */
#contact-form button[type="submit"] {
    background: linear-gradient(45deg, var(--accent-color), #FF8C32);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: 180px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

#contact-form button[type="submit"]:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

#contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.2);
}

#contact-form button[type="submit"]:hover:before {
    left: 100%;
}

/* Form Section Title */
.form-title {
    text-align: center;
    margin-bottom: 35px;
    color: #2d3748;
    font-size: 28px;
    font-weight: 600;
}

.form-subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

/* Input Icons */
.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    transition: all 0.3s ease;
}

/* Form Animations */
@keyframes formFloat {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Required Field Indicator */
.required-field::after {
    content: '*';
    color: var(--accent-color);
    margin-left: 4px;
}

/* Form Grid Layout for Larger Screens */
@media (min-width: 768px) {
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #contact-form {
        padding: 30px 25px;
        width: 95%;
    }

    .form-title {
        font-size: 24px;
    }

    #contact-form input,
    #contact-form textarea {
        padding: 14px 16px;
    }

    #contact-form button[type="submit"] {
        width: 100%;
        padding: 14px 20px;
    }
} 

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 10px 0;
    }

    .logo img {
        max-width: 180px; /* Adjust logo size for mobile */
    }

    .nav-links {
        display: none; /* Hide desktop menu */
    }

    .mobile-menu {
        display: block;
    }

    /* Hero Section */
    .hero {
        min-height: 60vh; /* Reduce height for mobile */
    }

    .hero-background {
        background-position: center center;
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .service-card {
        padding: 25px 20px;
        margin: 0 15px;
    }

    /* About Section */
    .about-content {
        flex-direction: column;
        padding: 15px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .stat-item {
        padding: 20px;
    }

    /* Why Choose Us Section */
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    /* Leadership Section */
    .founder-card {
        margin: 15px;
        padding: 20px;
    }

    .expertise ul {
        padding-left: 15px;
    }

    /* Contact Section */
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .contact-card {
        margin: 0 15px;
        padding: 25px 20px;
    }

    /* General Text Adjustments */
    h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    h3 {
        font-size: 1.3rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Section Padding */
    section {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }

    /* Social Sidebar */
    .social-sidebar {
        right: 10px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        margin: 5px 0;
    }

    /* Scroll to Top Button */
    .scroll-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
}

/* Additional iOS Specific Fixes */
@supports (-webkit-touch-callout: none) {
    /* iOS specific styles */
    .hero {
        min-height: -webkit-fill-available;
    }

    input, 
    textarea {
        -webkit-appearance: none;
        border-radius: 8px;
    }
}

/* Medium Size Devices */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .services-grid,
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        padding: 0 30px;
    }
}

/* Landscape Mode */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .services-grid,
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Safe Area for Notched Phones */
@supports (padding: max(0px)) {
    .navbar {
        padding-top: max(20px, env(safe-area-inset-top));
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }

    .social-sidebar {
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Touch Target Sizes */
@media (hover: none) and (pointer: coarse) {
    .nav-links a,
    .social-icon,
    button {
        min-height: 44px; /* Minimum touch target size */
        min-width: 44px;
    }
}

/* Mobile Navigation Styles */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background: var(--primary-color);
    z-index: 1000;
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu i {
    font-size: 24px;
    color: white;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    z-index: 1001;
    transition: 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    padding: 20px;
    background: var(--primary-color);
    display: flex;
    justify-content: flex-end;
}

.close-menu {
    color: white;
    font-size: 24px;
    cursor: pointer;
}

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

.mobile-nav-links li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-links a {
    display: block;
    padding: 15px 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.mobile-nav-links a:hover {
    background: #f8f8f8;
    color: var(--accent-color);
}

/* Overlay for mobile menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.menu-overlay.active {
    display: block;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .navbar .container {
        padding: 10px 15px;
    }

    .logo img {
        max-width: 150px;
    }
} 