/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background-color: #f5f6f8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    flex: 1;
}
/* Header styles */
.header {
    background-color: #f5f6f8;
    color: #333;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e1e4e8;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 50px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    height: 100%;
    display: flex;
    align-items: center;
}

.logo i {
    color: #3498db;
    font-size: 1.2rem;
}

.menu {
    display: flex;
    gap: 0.25rem; /* Reduced gap between menu items */
    align-items: center;
    height: 100%;
}

.menu a {
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem; /* Reduced padding */
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem; /* Slightly smaller font */
    height: 100%;
    display: flex;
    align-items: center;
}

/* Remove active page highlighting - keep all menu items the same */
.menu a.active {
    color: #4a5568; /* Same as regular links */
    background-color: transparent; /* No background */
    font-weight: 500; /* Same weight */
    box-shadow: none; /* No shadow */
}

.menu a:hover {
    color: #3498db;
    background-color: rgba(52, 152, 219, 0.08);
}

/* Remove hover effect for active state since it's same as regular */
.menu a.active:hover {
    color: #3498db;
    background-color: rgba(52, 152, 219, 0.08);
}

.menu a i {
    font-size: 0.9rem; /* Slightly smaller icons */
}

/* Menu toggle for mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.6rem;
    transition: transform 0.3s;
    background-color: transparent;
    border-radius: 4px;
    border: 1px solid #e1e4e8;
    height: 30px;
    justify-content: center;
}

.menu-toggle:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -5px);
}

.bar {
    height: 2px;
    width: 22px;
    background-color: #4a5568;
    margin: 2.5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .nav {
        height: 56px; /* Slightly smaller on mobile */
        padding: 0 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu {
        position: fixed;
        top: 100%;
        left: -100%;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        padding: 0;
        z-index: 99;
        gap: 0;
        border-top: 1px solid #e1e4e8;
        height: auto;
        top: 56px; /* Match mobile nav height */
    }
    
    .menu.active {
        left: 0;
    }
    
    .menu a {
        padding: 1rem 1.5rem;
        display: flex;
        border-radius: 0;
        border-bottom: 1px solid #f5f5f5;
        color: #4a5568;
        height: auto;
    }
    
    /* Remove active highlighting on mobile too */
    .menu a.active {
        background-color: transparent;
        color: #4a5568;
        border-bottom-color: #f5f5f5;
    }
    
    .menu a:hover {
        background-color: #f8f9fa;
        color: #3498db;
    }
    
    .menu a.active:hover {
        background-color: #f8f9fa;
        color: #3498db;
    }
}
.banner {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    margin-bottom: 2rem;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}
/* Banner styles (keep as is) */
.banner {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    margin-bottom: 2rem;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Update mobile menu background to match */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .menu {
        position: fixed;
        top: 100%;
        left: -100%;
        flex-direction: column;
        background: linear-gradient(135deg, #3498db, #2c3e50);
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        padding: 0;
        z-index: 99;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu.active {
        left: 0;
    }
    
    .menu a {
        padding: 1.2rem 1.5rem;
        display: flex;
        border-radius: 0;
        border-left: 5px solid transparent;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu a::before {
        display: none;
    }
    
    .menu a.active {
        border-left-color: #ffffff;
        background-color: rgba(255, 255, 255, 0.15);
    }
    
    .menu a:hover {
        border-left-color: #ffffff;
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .nav {
        padding: 0 1rem;
    }
}
/* Banner styles */
.banner {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    margin-bottom: 2rem;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
}

.search-bar input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-bar button {
    padding: 0.8rem 1.2rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Tools grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.tool-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #e5e7eb;
    height: 100%;
    min-height: 180px;
}

.tool-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

.tool-tile:hover .tool-icon {
    color: #2563eb;
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3498db;
    transition: color 0.3s;
}

.tool-tile h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.tool-tile p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}
/* Footer styles */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
    border-top: 3px solid #3498db;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr; /* First column (All Tools) gets more space */
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 2.5rem;
    padding: 0 3rem;
}

.footer-section {
    margin: 0;
}

.footer-section h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #3498db;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 2px;
    background-color: #3498db;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.0rem .8rem; /* Added horizontal gap */
}

.footer-links-grid a {
    display: block;
    color: #ecf0f1;
    text-decoration: none;
    padding: 0.4rem 0.;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding-left: 0.5rem;
    white-space: nowrap; 
}

.footer-links-grid a:hover {
    color: #3498db;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.footer-links-grid .view-all {
    grid-column: span 2; 
    text-align: center;
    padding: 0.8rem;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 6px;
    margin-top: 0.5rem;
    font-weight: 600;
    border: 1px solid rgba(52, 152, 219, 0.3);
    font-size: 0.9rem;
}

.footer-links-grid .view-all:hover {
    background-color: rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
}

.footer-section a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ecf0f1;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
}

.footer-section a:hover {
    color: #3498db;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.footer-section a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

/* Social Icons */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 3rem 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-icons a:hover {
    background-color: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.social-icons a i {
    transition: transform 0.3s ease;
}

.social-icons a:hover i {
    transform: scale(1.1);
}

.copyright {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive adjustments */

/* For tablets and smaller laptops */
@media (max-width: 1200px) {
    .footer-content {
        max-width: 1200px;
        padding: 0 2.5rem;
        grid-template-columns: 1.5fr 1fr 1fr; /* 3 columns on medium screens */
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr); /* Back to 2 columns on medium */
    }
    
    .footer-links-grid .view-all {
        grid-column: span 2;
    }
    
    .footer-bottom {
        max-width: 1200px;
        padding: 2rem 2.5rem 0;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        padding: 0 2rem;
    }
    
    /* Give more space to All Tools section when in 2-column layout */
    .footer-section:first-child {
        grid-column: span 2; /* All Tools takes full width */
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr); /* Keep 3 columns when All Tools is full width */
    }
    
    .footer-links-grid .view-all {
        grid-column: span 3;
    }
    
    .footer-bottom {
        padding: 2rem 2rem 0;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .footer-section:first-child {
        grid-column: 1; /* Reset to single column */
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    
    .footer-links-grid a {
        font-size: 0.9rem; /* Reset font size */
        white-space: normal; /* Allow text wrapping on mobile */
    }
    
    .footer-links-grid .view-all {
        grid-column: 1;
    }
    
    .social-icons {
        gap: 0.8rem;
        flex-wrap: wrap;
    }
    
    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .footer-section a {
        padding: 0.4rem 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-bottom {
        padding: 2rem 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-bottom {
        padding: 2rem 1rem 0;
    }
    
    .footer-links-grid a {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
}
/* About Section */
.about-section {
    background: white;
    border-radius: 10px;
    padding: 60px 40px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.about-content h2 span {
    color: #667eea;
}

.about-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.stat-item {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mission & Vision Section */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 60px 0;
}

.mission-box, .vision-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.mission-box h3, .vision-box h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission-box h3 i, .vision-box h3 i {
    color: #667eea;
}

.mission-box p, .vision-box p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Team Section */
.team-section {
    margin: 80px 0;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.team-section > p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 5px;
}

.member-info .position {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 10px;
}

.member-info .bio {
    color: #666;
    font-size: 0.95rem;
}

/* Values Section */
.values-section {
    background: white;
    padding: 60px 40px;
    border-radius: 10px;
    margin: 60px 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.values-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-item {
    text-align: center;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.value-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* ===== Mobile Responsive Styles for About Page ===== */

/* Tablet Styles (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 25px !important;
    }
    
    .values-grid {
        gap: 30px !important;
    }
}

/* Mobile Styles (up to 768px) */
@media screen and (max-width: 768px) {
    /* About Section */
    .about-section {
        padding: 40px 20px !important;
        margin: 30px 15px !important;
    }
    
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content h2 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }
    
    .about-content p {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
        text-align: left;
    }
    
    .about-image {
        order: -1; /* Move image to top on mobile */
    }
    
    .about-image img {
        max-width: 100%;
        height: auto;
    }
    
    /* Stats Section */
    .stats-section {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin: 40px 15px !important;
    }
    
    .stat-item {
        padding: 25px !important;
    }
    
    .stat-item:hover {
        transform: translateY(-3px) !important;
    }
    
    .stat-number {
        font-size: 2.2rem !important;
    }
    
    .stat-label {
        font-size: 1rem !important;
    }
    
    /* Mission & Vision Section */
    .mission-vision {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin: 40px 15px !important;
    }
    
    .mission-box, .vision-box {
        padding: 30px 20px !important;
    }
    
    .mission-box h3, .vision-box h3 {
        font-size: 1.5rem !important;
        justify-content: center;
        margin-bottom: 15px !important;
    }
    
    .mission-box p, .vision-box p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        text-align: center;
    }
    
    /* Team Section */
    .team-section {
        margin: 50px 15px !important;
    }
    
    .team-section h2 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }
    
    .team-section > p {
        font-size: 1rem !important;
        margin: 0 auto 30px !important;
        padding: 0 15px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .team-member {
        max-width: 100%;
    }
    
    .team-member:hover {
        transform: translateY(-5px) !important;
    }
    
    .member-image {
        height: 200px !important;
        font-size: 2.5rem !important;
    }
    
    .member-info {
        padding: 15px !important;
    }
    
    .member-info h3 {
        font-size: 1.2rem !important;
    }
    
    .member-info .position {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
    }
    
    .member-info .bio {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    /* Values Section */
    .values-section {
        padding: 40px 20px !important;
        margin: 40px 15px !important;
    }
    
    .values-section h2 {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
    }
    
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .value-icon {
        width: 70px !important;
        height: 70px !important;
        font-size: 1.8rem !important;
    }
    
    .value-item h3 {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }
    
    .value-item p {
        font-size: 0.95rem !important;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Small Mobile Devices (480px and below) */
@media screen and (max-width: 480px) {
    /* About Section */
    .about-section {
        padding: 30px 15px !important;
    }
    
    .about-content h2 {
        font-size: 1.8rem !important;
    }
    
    .about-content p {
        font-size: 0.95rem !important;
    }
    
    /* Stats Section */
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
    }
    
    /* Mission & Vision Section */
    .mission-box, .vision-box {
        padding: 25px 15px !important;
    }
    
    .mission-box h3, .vision-box h3 {
        font-size: 1.3rem !important;
    }
    
    .mission-box p, .vision-box p {
        font-size: 0.95rem !important;
    }
    
    /* Team Section */
    .team-section h2 {
        font-size: 1.8rem !important;
    }
    
    .team-grid {
        grid-template-columns: 1fr !important;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .member-image {
        height: 220px !important;
    }
    
    /* Values Section */
    .values-section h2 {
        font-size: 1.8rem !important;
    }
    
    .value-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
    
    .value-item p {
        font-size: 0.9rem !important;
    }
}

/* Landscape Mode for Mobile */
@media screen and (max-height: 600px) and (orientation: landscape) and (max-width: 768px) {
    .about-section {
        padding: 25px 20px !important;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .member-image {
        height: 150px !important;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Fix for very small devices */
@media screen and (max-width: 320px) {
    .about-content h2 {
        font-size: 1.5rem !important;
    }
    
    .team-grid {
        max-width: 250px;
    }
    
    .member-image {
        height: 180px !important;
    }
    
    .value-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.3rem !important;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .stat-item,
    .team-member,
    .value-item {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .team-member:active {
        transform: scale(0.98);
    }
}
/* Contact Section - Updated for form only */
.contact-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Contact Form - Full width now */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-form h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form h2 span {
    color: #667eea;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group label span {
    color: #ff4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ff4444;
}

.error-message {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: none;
}

.alert.show {
    display: block;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== Mobile Responsive Styles ===== */
@media screen and (max-width: 768px) {
    .contact-section {
        margin: 40px auto !important;
        padding: 0 15px !important;
    }

    .contact-form {
        padding: 25px 20px !important;
    }

    .contact-form h2 {
        font-size: 1.8rem !important;
        margin-bottom: 25px !important;
    }

    .form-group {
        margin-bottom: 20px !important;
    }

    .form-group label {
        font-size: 0.95rem !important;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }

    .submit-btn {
        padding: 14px 20px !important;
        font-size: 1rem !important;
    }

    .alert {
        padding: 12px 15px !important;
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
    }
}

/* Small Mobile Devices (480px and below) */
@media screen and (max-width: 480px) {
    .contact-form {
        padding: 20px 15px !important;
    }

    .contact-form h2 {
        font-size: 1.5rem !important;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px !important;
    }
}

/* Fix for very small devices */
@media screen and (max-width: 320px) {
    .contact-form {
        padding: 15px !important;
    }

    .contact-form h2 {
        font-size: 1.3rem !important;
    }

    .form-group input,
    .form-group textarea {
        padding: 8px !important;
        font-size: 14px !important;
    }

    .submit-btn {
        padding: 12px 15px !important;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .submit-btn {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}

/* Smooth transitions */
.contact-form,
.submit-btn {
    transition: all 0.3s ease;
}

